Details

Time bar (total: 8.5s)

sample105.0ms

Algorithm
intervals
Results
29.0ms57×body1280valid
19.0ms269×body80nan
13.0ms176×body80valid
8.0ms25×body640valid
4.0msbody2560valid
4.0ms14×body320valid
1.0msbody160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.8b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.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)))

series166.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0404507
11689429
25001426

prune302.0ms

Filtered
84 candidates to 58 candidates (69.0%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New671784
Fresh000
Picked101
Done000
Total681785

Merged error: 14.3b

Counts
85 → 17

localize24.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)))))
25.0b
(cos (/ (* z t) 3.0))
25.6b
(sin (/ (* z t) 3.0))

rewrite18.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:
4.0ms
(/ a (* b 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))

series233.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0433695
11951580
25001577

prune349.0ms

Filtered
70 candidates to 52 candidates (74.3%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New601070
Fresh41216
Picked101
Done000
Total652287

Merged error: 14.3b

Counts
87 → 22

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (/ (* z t) 3.0)))))
0.2b
(/ a (* b 3.0))
25.6b
(cos (* 0.3333333333333333 (* t z)))
25.6b
(sin (/ (* z t) 3.0))

rewrite20.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:
10.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (/ (* z t) 3.0)))))
4.0ms
(/ a (* b 3.0))
3.0ms
(cos (* 0.3333333333333333 (* t z)))
2.0ms
(sin (/ (* z t) 3.0))

series238.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0437695
11969580
25001577

prune374.0ms

Filtered
70 candidates to 50 candidates (71.4%)
Pruning

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New63770
Fresh41721
Picked101
Done000
Total682492

Merged error: 14.2b

Counts
92 → 24

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ a (* b 3.0))
0.2b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (* 0.3333333333333333 (* t z))))))
25.3b
(sin (* 0.3333333333333333 (* t z)))
25.6b
(cos (* 0.3333333333333333 (* t z)))

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:
4.0ms
(/ a (* b 3.0))
11.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (* 0.3333333333333333 (* t z))))))
3.0ms
(sin (* 0.3333333333333333 (* t z)))
3.0ms
(cos (* 0.3333333333333333 (* t z)))

series242.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ a (* b 3.0))
193.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (* 0.3333333333333333 (* t z))))))
16.0ms
(sin (* 0.3333333333333333 (* t z)))
14.0ms
(cos (* 0.3333333333333333 (* t z)))

simplify57.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0424695
11946580
25002577

prune247.0ms

Filtered
70 candidates to 50 candidates (71.4%)
Pruning

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New69170
Fresh02323
Picked101
Done000
Total702494

Merged error: 14.2b

Counts
94 → 24

regimes2.7s

Accuracy

65.2% (1.4b remaining)

Error of 17.6b against oracle of 16.2b and baseline of 20.2b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05431
15631
25631

end0.0ms

sample3.2s

Algorithm
intervals
Results
732.0ms1597×body1280valid
657.0ms9065×body80nan
414.0ms5529×body80valid
327.0ms980×body640valid
254.0ms340×body2560valid
110.0ms451×body320valid
32.0ms198×body160valid

Profiling

Loading profile data...