Details

Time bar (total: 8.9s)

sample137.0ms

Algorithm
intervals
Results
24.0ms55×body1280valid
14.0ms144×body80nan
14.0ms185×body80valid
8.0ms27×body640valid
6.0msbody2560valid
3.0ms11×body320valid
1.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.1b

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))))
22.8b
(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)))

series49.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ (* z t) 3.0)
3.0ms
(/ a (* b 3.0))
31.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
11.0ms
(cos (- y (/ (* z t) 3.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0419507
11751432
25001432

prune240.0ms

Filtered
59 candidates to 84 candidates (-42.4%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New651984
Fresh000
Picked101
Done000
Total661985

Merged error: 14.6b

Counts
85 → 19

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
2.3b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
26.9b
(sin (/ (* z t) 3.0))
27.3b
(cos (/ (* z t) 3.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
28×pow1 add-exp-log add-cbrt-cube
16×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r/ associate-*r* associate-*l* *-commutative
cos-mult sin-mult
Counts
4 → 60
Calls
4 calls:
8.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
8.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
2.0ms
(sin (/ (* z t) 3.0))
2.0ms
(cos (/ (* z t) 3.0))

series71.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
31.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
4.0ms
(sin (/ (* z t) 3.0))
4.0ms
(cos (/ (* z t) 3.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0383704
11621550
25002550

prune268.0ms

Filtered
46 candidates to 72 candidates (-56.5%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New601272
Fresh51318
Picked101
Done000
Total662591

Merged error: 14.4b

Counts
91 → 25

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
2.3b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (* 0.3333333333333333 (* t z)))))
27.1b
(sin (* 0.3333333333333333 (* t z)))
27.3b
(cos (/ (* z t) 3.0))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
28×pow1 add-exp-log add-cbrt-cube
16×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r/ associate-*r* associate-*l* *-commutative
cos-mult sin-mult
Counts
4 → 60
Calls
4 calls:
10.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
9.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (* 0.3333333333333333 (* t z)))))
2.0ms
(sin (* 0.3333333333333333 (* t z)))
2.0ms
(cos (/ (* z t) 3.0))

series72.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
31.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (* 0.3333333333333333 (* t z)))))
4.0ms
(sin (* 0.3333333333333333 (* t z)))
4.0ms
(cos (/ (* z t) 3.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0387704
11640550
25002550

prune253.0ms

Filtered
44 candidates to 72 candidates (-63.6%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New71172
Fresh02424
Picked101
Done000
Total722597

Merged error: 14.4b

Counts
97 → 25

localize34.0ms

Local error

Found 4 expressions with local error:

27.1b
(sin (* 0.3333333333333333 (* t z)))
27.1b
(sin (* 0.3333333333333333 (* t z)))
27.1b
(sin (* 0.3333333333333333 (* t z)))
27.3b
(cos (/ (* z t) 3.0))

rewrite10.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:
3.0ms
(sin (* 0.3333333333333333 (* t z)))
3.0ms
(sin (* 0.3333333333333333 (* t z)))
3.0ms
(sin (* 0.3333333333333333 (* t z)))
2.0ms
(cos (/ (* z t) 3.0))

series16.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
035190
151162
262162
371162
499162
5173162
6692162
72257162
85001162

prune118.0ms

Filtered
33 candidates to 40 candidates (-21.2%)
Pruning

26 alts after pruning (25 fresh and 1 done)

PrunedKeptTotal
New38240
Fresh12324
Picked011
Done000
Total392665

Merged error: 14.4b

Counts
65 → 26

regimes4.2s

Accuracy

54.9% (1.6b remaining)

Error of 18.4b against oracle of 16.8b and baseline of 20.3b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06042
16242
26242

end0.0ms

sample3.0s

Algorithm
intervals
Results
736.0ms1601×body1280valid
438.0ms5592×body80valid
337.0ms4386×body80nan
307.0ms917×body640valid
286.0ms390×body2560valid
104.0ms428×body320valid
32.0ms190×body160valid

Profiling

Loading profile data...