Details

Time bar (total: 9.6s)

sample118.0ms

Algorithm
intervals
Results
25.0ms295×body80nan
22.0ms48×body1280valid
14.0ms189×body80valid
13.0ms17×body2560valid
8.0ms24×body640valid
3.0ms13×body320valid
1.0msbody160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03310
15810
28210
39910
410710
510910
610910

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: 21.5b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

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

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

series178.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06851511
123611261
250011258

prune470.0ms

Filtered
113 candidates to 72 candidates (63.7%)
Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New9023113
Fresh000
Picked101
Done000
Total9123114

Merged error: 16.6b

Counts
114 → 23

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.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 prod-exp cbrt-unprod log1p-expm1-u 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 → 66
Calls
4 calls:
5.0ms
(/ a (* b 3.0))
10.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
2.0ms
(sin (/ (* z t) 3.0))
3.0ms
(cos (/ (* z t) 3.0))

series271.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ a (* b 3.0))
217.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
23.0ms
(sin (/ (* z t) 3.0))
11.0ms
(cos (/ (* z t) 3.0))

simplify71.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0448738
12011624
25002619

prune443.0ms

Filtered
78 candidates to 61 candidates (78.2%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New74478
Fresh02222
Picked101
Done000
Total7526101

Merged error: 16.0b

Counts
101 → 26

localize33.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (log (exp (cos (/ (* z t) 3.0))))) (* (sin y) (sin (/ (* z t) 3.0)))))
0.3b
(log (exp (cos (/ (* z t) 3.0))))
29.0b
(sin (/ (* z t) 3.0))
29.1b
(cos (/ (* z t) 3.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log-pow log1p-expm1-u add-log-exp
log-prod exp-prod associate-*r* pow-prod-down prod-exp cbrt-unprod
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ rem-log-exp associate-*l* *-commutative flip-+
Counts
4 → 59
Calls
4 calls:
11.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (log (exp (cos (/ (* z t) 3.0))))) (* (sin y) (sin (/ (* z t) 3.0)))))
4.0ms
(log (exp (cos (/ (* z t) 3.0))))
3.0ms
(sin (/ (* z t) 3.0))
3.0ms
(cos (/ (* z t) 3.0))

series262.0ms

Counts
4 → 12
Calls
4 calls:
216.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (log (exp (cos (/ (* z t) 3.0))))) (* (sin y) (sin (/ (* z t) 3.0)))))
11.0ms
(log (exp (cos (/ (* z t) 3.0))))
23.0ms
(sin (/ (* z t) 3.0))
12.0ms
(cos (/ (* z t) 3.0))

simplify65.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0341784
11547647
25001630

prune476.0ms

Filtered
71 candidates to 57 candidates (80.3%)
Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New69271
Fresh02525
Picked101
Done000
Total702797

Merged error: 16.0b

Counts
97 → 27

localize30.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
0.3b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (* 0.3333333333333333 (* t z))))))
28.9b
(sin (* 0.3333333333333333 (* t z)))
29.1b
(cos (/ (* z t) 3.0))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*r*
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
associate-*r/
*-commutative sin-mult
distribute-rgt-in distribute-lft-in flip3-+ frac-add cos-mult flip-+ unswap-sqr
Counts
4 → 64
Calls
4 calls:
6.0ms
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
11.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (* 0.3333333333333333 (* t z))))))
3.0ms
(sin (* 0.3333333333333333 (* t z)))
2.0ms
(cos (/ (* z t) 3.0))

series293.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
219.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (* 0.3333333333333333 (* t z))))))
19.0ms
(sin (* 0.3333333333333333 (* t z)))
12.0ms
(cos (/ (* z t) 3.0))

simplify60.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0384803
11846693
25001688

prune335.0ms

Filtered
76 candidates to 58 candidates (76.3%)
Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New72476
Fresh32326
Picked101
Done000
Total7627103

Merged error: 16.0b

Counts
103 → 27

regimes2.8s

Accuracy

46.6% (2.5b remaining)

Error of 18.1b against oracle of 15.7b and baseline of 20.3b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05030
15230
25230

end0.0ms

sample3.4s

Algorithm
intervals
Results
759.0ms1553×body1280valid
695.0ms9085×body80nan
440.0ms5545×body80valid
330.0ms961×body640valid
312.0ms395×body2560valid
112.0ms452×body320valid
40.0ms208×body160valid