Details

Time bar (total: 8.4s)

sample100.0ms

Algorithm
intervals
Results
22.0ms282×body80nan
18.0ms42×body1280valid
13.0ms186×body80valid
10.0ms31×body640valid
5.0msbody2560valid
4.0ms16×body320valid
1.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

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: 18.5b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

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

series163.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ (* z t) 3.0)
18.0ms
(/ a (* b 3.0))
91.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
32.0ms
(cos (- y (/ (* z t) 3.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0404507
11689429
25001426

prune317.0ms

Filtered
84 candidates to 58 candidates (69.0%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New651984
Fresh000
Picked101
Done000
Total661985

Merged error: 15.2b

Counts
85 → 19

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin y) (sin (/ (* z t) 3.0)))
0.3b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
27.7b
(cos (/ (* z t) 3.0))
28.0b
(sin (/ (* z t) 3.0))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*r*
associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
associate-*r/
*-commutative sin-mult
distribute-rgt-in distribute-lft-in flip3-+ frac-add cos-mult flip-+ unswap-sqr
Counts
4 → 56
Calls
4 calls:
5.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
9.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series260.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
190.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
9.0ms
(cos (/ (* z t) 3.0))
15.0ms
(sin (/ (* z t) 3.0))

simplify60.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0365754
11772643
25001640

prune386.0ms

Filtered
68 candidates to 50 candidates (73.5%)
Pruning

28 alts after pruning (28 fresh and 0 done)

PrunedKeptTotal
New571168
Fresh11718
Picked101
Done000
Total592887

Merged error: 15.0b

Counts
87 → 28

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (pow (cos (/ (* z t) 3.0)) 3))
0.4b
(pow (cos (/ (* z t) 3.0)) 3)
27.7b
(cos (/ (* z t) 3.0))
28.0b
(sin (/ (* z t) 3.0))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod
pow1 add-exp-log add-cbrt-cube
add-log-exp
pow-unpow
cube-mult unpow3 sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 58
Calls
4 calls:
2.0ms
(cbrt (pow (cos (/ (* z t) 3.0)) 3))
2.0ms
(pow (cos (/ (* z t) 3.0)) 3)
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series60.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(cbrt (pow (cos (/ (* z t) 3.0)) 3))
25.0ms
(pow (cos (/ (* z t) 3.0)) 3)
9.0ms
(cos (/ (* z t) 3.0))
16.0ms
(sin (/ (* z t) 3.0))

simplify129.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0120373
1411347
22822341
35001341

prune352.0ms

Filtered
70 candidates to 43 candidates (61.4%)
Pruning

28 alts after pruning (28 fresh and 0 done)

PrunedKeptTotal
New66470
Fresh32427
Picked101
Done000
Total702898

Merged error: 15.0b

Counts
98 → 28

localize29.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (pow (cos (* 0.3333333333333333 (* t z))) 3))
0.3b
(pow (cos (* 0.3333333333333333 (* t z))) 3)
27.8b
(cos (* 0.3333333333333333 (* t z)))
28.0b
(sin (/ (* z t) 3.0))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod
pow1 add-exp-log add-cbrt-cube
add-log-exp
pow-unpow
cube-mult unpow3 sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 58
Calls
4 calls:
3.0ms
(cbrt (pow (cos (* 0.3333333333333333 (* t z))) 3))
3.0ms
(pow (cos (* 0.3333333333333333 (* t z))) 3)
3.0ms
(cos (* 0.3333333333333333 (* t z)))
2.0ms
(sin (/ (* z t) 3.0))

series58.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(cbrt (pow (cos (* 0.3333333333333333 (* t z))) 3))
24.0ms
(pow (cos (* 0.3333333333333333 (* t z))) 3)
9.0ms
(cos (* 0.3333333333333333 (* t z)))
15.0ms
(sin (/ (* z t) 3.0))

simplify128.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0113373
1398347
22797341
35001341

prune248.0ms

Filtered
70 candidates to 41 candidates (58.6%)
Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New69170
Fresh12627
Picked101
Done000
Total712798

Merged error: 15.0b

Counts
98 → 27

regimes2.7s

Accuracy

58.4% (1.6b remaining)

Error of 18.1b against oracle of 16.5b and baseline of 20.3b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05332
15532
25532

end0.0ms

sample3.2s

Algorithm
intervals
Results
710.0ms1555×body1280valid
669.0ms9285×body80nan
423.0ms5631×body80valid
294.0ms922×body640valid
268.0ms373×body2560valid
108.0ms455×body320valid
31.0ms194×body160valid