Details

Time bar (total: 9.1s)

sample154.0ms

Algorithm
intervals
Results
40.0ms279×body80nan
35.0ms57×body1280valid
23.0ms183×body80valid
15.0ms33×body640valid
9.0ms10×body2560valid
3.0msbody320valid
1.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.2b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.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:
3.0ms
(/ (* z t) 3.0)
11.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
3.0ms
(/ a (* b 3.0))
8.0ms
(cos (- y (/ (* z t) 3.0)))

series163.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0404507
11689429
25001426

prune322.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 15.8b

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ a (* b 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))
27.9b
(sin (/ (* z t) 3.0))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-cbrt-cube
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
prod-exp cbrt-unprod add-log-exp
times-frac associate-*r/ associate-*r* pow-prod-down associate-/l*
cbrt-undiv div-exp
distribute-rgt-in frac-2neg distribute-lft-in flip3-+ associate-*l* frac-add clear-num associate-/r* cos-mult *-commutative flip-+ div-inv sin-mult
Counts
4 → 58
Calls
4 calls:
3.0ms
(/ a (* b 3.0))
16.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
1.0ms
(cos (/ (* z t) 3.0))
1.0ms
(sin (/ (* z t) 3.0))

series241.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ a (* b 3.0))
194.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))
19.0ms
(sin (/ (* z t) 3.0))

simplify57.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0433695
11951580
25001577

prune399.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 15.7b

localize30.0ms

Local error

Found 4 expressions with local error:

27.7b
(cos (/ (* z t) 3.0))
27.7b
(cos (/ (* z t) 3.0))
27.7b
(cos (/ (* z t) 3.0))
27.9b
(sin (/ (* z t) 3.0))

rewrite6.0ms

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

series44.0ms

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

simplify110.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
036186
152158
263158
372158
4100158
5174158
6693158
72258158
85001158

prune338.0ms

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 15.7b

localize40.0ms

Local error

Found 4 expressions with local error:

27.7b
(cos (/ (* z t) 3.0))
27.9b
(sin (/ (* z t) 3.0))
27.9b
(sin (/ (* z t) 3.0))
27.9b
(sin (/ (* z t) 3.0))

rewrite6.0ms

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

series54.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(cos (/ (* z t) 3.0))
15.0ms
(sin (/ (* z t) 3.0))
15.0ms
(sin (/ (* z t) 3.0))
15.0ms
(sin (/ (* z t) 3.0))

simplify104.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
036190
152162
263162
372162
4100162
5174162
6693162
72258162
85001162

prune284.0ms

Pruning

22 alts after pruning (21 fresh and 1 done)

Merged error: 15.7b

regimes2.0s

Accuracy

57.1% (1.5b remaining)

Error of 17.9b against oracle of 16.4b and baseline of 19.9b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05950
15950

end0.0ms

sample4.6s

Algorithm
intervals
Results
1.2s9136×body80nan
996.0ms1547×body1280valid
731.0ms5567×body80valid
448.0ms961×body640valid
374.0ms396×body2560valid
148.0ms424×body320valid
55.0ms217×body160valid