Details

Time bar (total: 8.6s)

sample105.0ms

Algorithm
intervals
Results
21.0ms258×body80nan
20.0ms46×body1280valid
12.0ms18×body2560valid
11.0ms175×body80valid
9.0ms31×body640valid
4.0ms19×body320valid
1.0msbody160valid

simplify11.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: 21.2b

localize16.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.3b
(/ a (* b 3.0))
23.9b
(cos (- y (/ (* z t) 3.0)))

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

series171.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0404507
11689429
25001426

prune367.0ms

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 17.9b

localize30.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
0.3b
(/ a (* b 3.0))
28.2b
(sin (/ (* z t) 3.0))
28.8b
(cos (/ (* z t) 3.0))

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

series262.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0433695
11951580
25001577

prune426.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 17.8b

localize34.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ a (* b 3.0))
0.3b
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
28.2b
(sin (* 0.3333333333333333 (* t z)))
28.8b
(cos (/ (* z t) 3.0))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
11×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-log-exp
times-frac associate-*r* associate-*l* associate-/l*
cbrt-undiv div-exp prod-exp cbrt-unprod
frac-2neg pow-prod-down clear-num associate-/r* *-commutative div-inv sin-mult unswap-sqr
Counts
4 → 54
Calls
4 calls:
3.0ms
(/ a (* b 3.0))
9.0ms
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
4.0ms
(sin (* 0.3333333333333333 (* t z)))
1.0ms
(cos (/ (* z t) 3.0))

series95.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ a (* b 3.0))
42.0ms
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
17.0ms
(sin (* 0.3333333333333333 (* t z)))
10.0ms
(cos (/ (* z t) 3.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0198336
1640285
22114285
35001285

prune436.0ms

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 17.8b

localize30.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
2.1b
(log (exp (* (sin y) (sin (* 0.3333333333333333 (* t z))))))
28.2b
(sin (* 0.3333333333333333 (* t z)))
28.8b
(cos (/ (* z t) 3.0))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
add-log-exp
log-prod associate-*r* associate-*l* log-pow
exp-prod exp-to-pow rem-log-exp pow-prod-down prod-exp *-commutative cbrt-unprod sin-mult unswap-sqr
Counts
4 → 47
Calls
4 calls:
9.0ms
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
3.0ms
(log (exp (* (sin y) (sin (* 0.3333333333333333 (* t z))))))
4.0ms
(sin (* 0.3333333333333333 (* t z)))
1.0ms
(cos (/ (* z t) 3.0))

series118.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
48.0ms
(log (exp (* (sin y) (sin (* 0.3333333333333333 (* t z))))))
16.0ms
(sin (* 0.3333333333333333 (* t z)))
13.0ms
(cos (/ (* z t) 3.0))

simplify84.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 5 (79.0ms)

IterNodesCost
0112373
1296318
2629318
31071318
42927318
55002314

prune321.0ms

Pruning

26 alts after pruning (25 fresh and 1 done)

Merged error: 17.8b

regimes2.6s

Accuracy

58.9% (1.6b remaining)

Error of 18.0b against oracle of 16.4b and baseline of 20.3b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05743
15943
25943

end0.0ms

sample3.3s

Algorithm
intervals
Results
890.0ms1615×body1280valid
643.0ms9099×body80nan
372.0ms5594×body80valid
284.0ms392×body2560valid
270.0ms931×body640valid
81.0ms383×body320valid
30.0ms207×body160valid