Details

Time bar (total: 8.7s)

sample104.0ms

Algorithm
intervals
Results
24.0ms61×body1280valid
18.0ms308×body80nan
15.0ms174×body80valid
8.0ms30×body640valid
8.0ms12×body2560valid
2.0msbody320valid
1.0msbody160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03310
15810
28210
39910
410710
510910
610910

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 22.3b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
0.3b
(/ a (* b 3.0))
0.4b
(/ (* z t) 3.0)
25.1b
(cos (- y (/ (* z t) 3.0)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
23×cos-sum
22×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
21×prod-diff
19×add-exp-log add-cbrt-cube
15×times-frac
pow1
prod-exp cbrt-unprod div-inv
cbrt-undiv expm1-log1p-u div-exp associate-/r* log1p-expm1-u associate-/l* add-log-exp
cos-diff associate-*r* pow-prod-down
frac-2neg clear-num
distribute-rgt-in sub-neg distribute-lft-in associate-*l* *-commutative
Counts
4 → 101
Calls
4 calls:
10.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
4.0ms
(/ a (* b 3.0))
5.0ms
(/ (* z t) 3.0)
9.0ms
(cos (- y (/ (* z t) 3.0)))

series180.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
20.0ms
(/ a (* b 3.0))
19.0ms
(/ (* z t) 3.0)
41.0ms
(cos (- y (/ (* z t) 3.0)))

simplify80.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06851511
123611261
250011258

prune477.0ms

Filtered
113 candidates to 72 candidates (63.7%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New9221113
Fresh000
Picked101
Done000
Total9321114

Merged error: 18.3b

Counts
114 → 21

localize27.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (* z t) 3.0)
2.3b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
29.5b
(sin (/ (* z t) 3.0))
29.6b
(cos (/ (* z t) 3.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
21×add-exp-log add-cbrt-cube
16×pow1
prod-exp cbrt-unprod
pow-prod-down
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u add-log-exp
times-frac associate-/r*
cbrt-undiv div-exp
frac-2neg associate-*r/ associate-*r* associate-*l* clear-num *-commutative div-inv sin-mult associate-/l*
Counts
4 → 66
Calls
4 calls:
5.0ms
(/ (* z t) 3.0)
10.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
2.0ms
(sin (/ (* z t) 3.0))
3.0ms
(cos (/ (* z t) 3.0))

series153.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ (* z t) 3.0)
103.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
17.0ms
(sin (/ (* z t) 3.0))
11.0ms
(cos (/ (* z t) 3.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0311521
11304420
25001418

prune455.0ms

Filtered
78 candidates to 55 candidates (70.5%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New71778
Fresh11920
Picked101
Done000
Total732699

Merged error: 18.3b

Counts
99 → 26

localize39.0ms

Local error

Found 4 expressions with local error:

29.5b
(sin (/ (* z t) 3.0))
29.5b
(sin (/ (* z t) 3.0))
29.5b
(sin (/ (* z t) 3.0))
29.6b
(cos (/ (* z t) 3.0))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 36
Calls
4 calls:
2.0ms
(sin (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))
3.0ms
(cos (/ (* z t) 3.0))

series61.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(sin (/ (* z t) 3.0))
17.0ms
(sin (/ (* z t) 3.0))
17.0ms
(sin (/ (* z t) 3.0))
11.0ms
(cos (/ (* z t) 3.0))

simplify125.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
040222
156194
267194
376194
4104194
5178194
6697194
72269194
85001194

prune437.0ms

Filtered
48 candidates to 44 candidates (91.7%)
Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New45348
Fresh12425
Picked101
Done000
Total472774

Merged error: 18.3b

Counts
74 → 27

localize38.0ms

Local error

Found 4 expressions with local error:

29.5b
(sin (/ (* z t) 3.0))
29.5b
(sin (/ (* z t) 3.0))
29.5b
(sin (/ (* z t) 3.0))
29.6b
(cos (/ (* z t) 3.0))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 36
Calls
4 calls:
2.0ms
(sin (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))
3.0ms
(cos (/ (* z t) 3.0))

series68.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(sin (/ (* z t) 3.0))
17.0ms
(sin (/ (* z t) 3.0))
17.0ms
(sin (/ (* z t) 3.0))
12.0ms
(cos (/ (* z t) 3.0))

simplify123.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
040222
156194
267194
376194
4104194
5178194
6697194
72269194
85001194

prune344.0ms

Filtered
48 candidates to 44 candidates (91.7%)
Pruning

27 alts after pruning (26 fresh and 1 done)

PrunedKeptTotal
New48048
Fresh02626
Picked011
Done000
Total482775

Merged error: 18.3b

Counts
75 → 27

regimes2.9s

Accuracy

57.8% (1.8b remaining)

Error of 18.5b against oracle of 16.8b and baseline of 21.0b

bsearch3.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05546
15546

end0.0ms

sample2.9s

Algorithm
intervals
Results
650.0ms1561×body1280valid
547.0ms8964×body80nan
349.0ms5578×body80valid
279.0ms981×body640valid
250.0ms364×body2560valid
87.0ms423×body320valid
28.0ms199×body160valid