Details

Time bar (total: 9.5s)

sample103.0ms

Algorithm
intervals
Results
18.0ms46×body1280valid
18.0ms258×body80nan
14.0ms175×body80valid
12.0ms18×body2560valid
8.0ms31×body640valid
4.0ms19×body320valid
1.0msbody160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03310
15810
28210
39910
410710
510910
610910

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.2b

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

rewrite41.0ms

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

series182.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06851511
123611261
250011258

prune489.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 17.5b

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-cbrt-cube
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u associate-*r/ prod-exp cbrt-unprod log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in times-frac associate-*r* pow-prod-down associate-/l*
cbrt-undiv sub-neg div-exp prod-diff cos-mult sin-mult
neg-sub0 flip3-- frac-2neg associate-*l* sin-neg clear-num associate-/r* sin-diff *-commutative frac-sub flip-- div-inv sub-div
Counts
4 → 73
Calls
4 calls:
23.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))
8.0ms
(sin (- (/ (* z t) 3.0)))
2.0ms
(cos (/ (* z t) 3.0))

series312.0ms

Counts
4 → 12
Calls
4 calls:
252.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
21.0ms
(/ a (* b 3.0))
24.0ms
(sin (- (/ (* z t) 3.0)))
14.0ms
(cos (/ (* z t) 3.0))

simplify69.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0483929
11977788
25002771

prune815.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 17.5b

localize37.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.3b
(sin (- (* 0.3333333333333333 (* t z))))
28.8b
(cos (/ (* z t) 3.0))

rewrite21.0ms

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

series128.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ a (* b 3.0))
68.0ms
(* (sin y) (sin (- (* 0.3333333333333333 (* t z)))))
25.0ms
(sin (- (* 0.3333333333333333 (* t z))))
13.0ms
(cos (/ (* z t) 3.0))

simplify79.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0227425
1741367
22579367
35001367

prune554.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 17.5b

localize41.0ms

Local error

Found 4 expressions with local error:

28.3b
(sin (- (* 0.3333333333333333 (* t z))))
28.3b
(sin (- (* 0.3333333333333333 (* t z))))
28.3b
(sin (- (* 0.3333333333333333 (* t z))))
28.8b
(cos (/ (* z t) 3.0))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
neg-sub0 sin-neg sin-diff
Counts
4 → 42
Calls
4 calls:
4.0ms
(sin (- (* 0.3333333333333333 (* t z))))
4.0ms
(sin (- (* 0.3333333333333333 (* t z))))
4.0ms
(sin (- (* 0.3333333333333333 (* t z))))
2.0ms
(cos (/ (* z t) 3.0))

series88.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(sin (- (* 0.3333333333333333 (* t z))))
26.0ms
(sin (- (* 0.3333333333333333 (* t z))))
24.0ms
(sin (- (* 0.3333333333333333 (* t z))))
13.0ms
(cos (/ (* z t) 3.0))

simplify309.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
057285
1119248
2235248
3493248
42631248
55001248

prune410.0ms

Pruning

24 alts after pruning (23 fresh and 1 done)

Merged error: 17.5b

regimes2.6s

Accuracy

55.7% (1.8b remaining)

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

bsearch3.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05848
17348
27348

end0.0ms

sample3.1s

Algorithm
intervals
Results
671.0ms1615×body1280valid
663.0ms9099×body80nan
366.0ms5594×body80valid
279.0ms931×body640valid
277.0ms392×body2560valid
80.0ms383×body320valid
31.0ms207×body160valid