Details

Time bar (total: 14.9s)

sample81.0ms

Algorithm
intervals
Results
22.0ms256×body80nan
18.0ms256×body80valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05017
110617
237417
3165217
4500117

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.7b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(* z (sqrt (+ t a)))
0.3b
(/ 2.0 (* t 3.0))
2.1b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
4.3b
(/ (* z (sqrt (+ t a))) t)

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
20×frac-sub
16×add-exp-log add-cbrt-cube
15×add-sqr-sqrt
13×*-un-lft-identity
11×add-cube-cbrt
flip3-- flip--
frac-times associate-*r/
associate-*r*
pow1 times-frac associate--r+ add-log-exp
flip3-+ sqrt-prod flip-+
cbrt-undiv sqrt-div div-exp associate-/r* associate-/l*
distribute-rgt-in sub-neg distribute-lft-in associate-*l* prod-exp cbrt-unprod
frac-2neg associate-*l/ associate--l+ clear-num div-inv associate-/l/ unswap-sqr
diff-log pow-prod-down *-commutative distribute-lft-out
Counts
4 → 101
Calls
4 calls:
23.0ms
(* z (sqrt (+ t a)))
8.0ms
(/ 2.0 (* t 3.0))
40.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
16.0ms
(/ (* z (sqrt (+ t a))) t)

series341.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* z (sqrt (+ t a)))
17.0ms
(/ 2.0 (* t 3.0))
179.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
80.0ms
(/ (* z (sqrt (+ t a))) t)

simplify48.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
010191262
150011200

prune607.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize33.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 2.0 (* t 3.0))
2.1b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (cbrt (pow (/ 2.0 (* t 3.0)) 3)))))
4.3b
(/ (* z (sqrt (+ t a))) t)
41.3b
(cbrt (pow (/ 2.0 (* t 3.0)) 3))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
20×cbrt-prod frac-sub
14×add-exp-log add-cbrt-cube
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×times-frac
flip3-- flip--
frac-times
cube-div unpow-prod-down cbrt-div cube-prod
associate-*r/ associate--r+ add-log-exp
pow1 cbrt-undiv flip3-+ div-exp associate-/r* flip-+ div-inv associate-/l*
distribute-rgt-in sub-neg distribute-lft-in
frac-2neg sqrt-div associate-*l/ prod-exp associate--l+ clear-num cbrt-unprod associate-/l/
cube-mult pow1/3 diff-log unpow3 rem-cbrt-cube sqr-pow
Counts
4 → 106
Calls
4 calls:
8.0ms
(/ 2.0 (* t 3.0))
48.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (cbrt (pow (/ 2.0 (* t 3.0)) 3)))))
15.0ms
(/ (* z (sqrt (+ t a))) t)
6.0ms
(cbrt (pow (/ 2.0 (* t 3.0)) 3))

series298.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ 2.0 (* t 3.0))
184.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (cbrt (pow (/ 2.0 (* t 3.0)) 3)))))
80.0ms
(/ (* z (sqrt (+ t a))) t)
18.0ms
(cbrt (pow (/ 2.0 (* t 3.0)) 3))

simplify47.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
010271349
150011297

prune649.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize36.0ms

Local error

Found 4 expressions with local error:

3.4b
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
4.3b
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
6.8b
(- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0)))))
27.8b
(/ (- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))) (* t (* (- a (/ 5.0 6.0)) (* t 3.0))))

rewrite1.7s

Algorithm
rewrite-expression-head
Rules
766×associate-*l/
764×associate-*r/
524×frac-sub
498×flip3-- flip--
364×frac-times
240×sqrt-div
162×associate-/l/
120×flip3-+ flip-+
28×add-exp-log add-cbrt-cube
16×distribute-rgt-in distribute-lft-in
14×pow1
12×prod-exp cbrt-unprod
sub-neg
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate--r+
associate-*l*
pow-prod-down add-log-exp
cbrt-undiv div-exp
times-frac associate-/l*
associate-*r* associate-/r/ *-commutative
frac-2neg diff-log div-sub clear-num associate-/r* div-inv difference-of-squares
Counts
4 → 437
Calls
4 calls:
329.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
40.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
501.0ms
(- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0)))))
724.0ms
(/ (- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))) (* t (* (- a (/ 5.0 6.0)) (* t 3.0))))

series1.6s

Counts
4 → 12
Calls
4 calls:
181.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
47.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
593.0ms
(- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0)))))
796.0ms
(/ (- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))) (* t (* (- a (/ 5.0 6.0)) (* t 3.0))))

simplify336.0ms

Algorithm
egg-herbie
Counts
449 → 449
Iterations

Useful iterations: 1 (113.0ms)

IterNodesCost
0464124427
1500124209

prune5.5s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b)))))
0.0b
(+ (* a c) (* 0.8333333333333334 c))
0.0b
(exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))
1.4b
(- (+ (* a c) (* 0.8333333333333334 c)) (* a b))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
13×add-log-exp
12×exp-sum
associate-*r*
add-sqr-sqrt
pow1 distribute-rgt-in add-cube-cbrt *-un-lft-identity distribute-lft-in add-cbrt-cube
add-exp-log sub-neg associate--l+
associate-*l*
diff-log sum-log
+-commutative exp-prod distribute-rgt-out flip3-- exp-to-pow flip3-+ pow-prod-down prod-exp *-commutative flip-- cbrt-unprod flip-+ rem-exp-log unswap-sqr
Counts
4 → 66
Calls
4 calls:
49.0ms
(* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b)))))
8.0ms
(+ (* a c) (* 0.8333333333333334 c))
33.0ms
(exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))
42.0ms
(- (+ (* a c) (* 0.8333333333333334 c)) (* a b))

series177.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b)))))
30.0ms
(+ (* a c) (* 0.8333333333333334 c))
45.0ms
(exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))
33.0ms
(- (+ (* a c) (* 0.8333333333333334 c)) (* a b))

simplify116.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0287596
11035532
23836515
35002510

prune224.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes292.0ms

Accuracy

48.4% (3.1b remaining)

Error of 4.3b against oracle of 1.2b and baseline of 7.3b

bsearch395.0ms

Steps
ItersRangePoint
7
1.3263943024813382e-104
2.164387454202905e-103
1.1960971858099233e-103
11
-2.7642923683296913e-21
-1.3861612912304209e-53
-1.8718335203335725e-43

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07753
17753

end0.0ms

sample2.0s

Algorithm
intervals
Results
567.0ms8000×body80valid
538.0ms8172×body80nan