Details

Time bar (total: 13.4s)

sample90.0ms

Algorithm
intervals
Results
30.0ms292×body80nan
24.0ms256×body80valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05017
110617
237417
3165217
4500117

prune5.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: 4.0b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.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:
7.0ms
(* z (sqrt (+ t a)))
5.0ms
(/ 2.0 (* t 3.0))
13.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
8.0ms
(/ (* z (sqrt (+ t a))) t)

series330.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* z (sqrt (+ t a)))
20.0ms
(/ 2.0 (* t 3.0))
174.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
77.0ms
(/ (* z (sqrt (+ t a))) t)

simplify38.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
010191262
150011200

prune727.0ms

Filtered
113 candidates to 88 candidates (77.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1094113
Fresh000
Picked101
Done000
Total1104114

Merged error: 0.5b

Counts
114 → 4

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (sqrt (+ t a)) t)
0.3b
(/ 2.0 (* t 3.0))
1.1b
(* z (/ (sqrt (+ t a)) t))
2.4b
(- (* z (/ (sqrt (+ t a)) t)) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity
47×times-frac
45×add-sqr-sqrt
37×add-cube-cbrt
29×sqrt-prod
25×associate-*r*
20×frac-sub
19×associate-*r/
16×add-exp-log add-cbrt-cube
10×associate-/l*
flip3-- flip--
frac-times
distribute-lft-out
pow1 associate--r+ add-log-exp
cbrt-undiv flip3-+ div-exp associate-/r* flip-+
distribute-rgt-in sub-neg distribute-lft-in associate-*l* prod-exp cbrt-unprod div-inv unswap-sqr
frac-2neg sqrt-div associate-*l/ associate--l+ clear-num associate-/l/
diff-log pow-prod-down *-commutative
Counts
4 → 143
Calls
4 calls:
7.0ms
(/ (sqrt (+ t a)) t)
5.0ms
(/ 2.0 (* t 3.0))
13.0ms
(* z (/ (sqrt (+ t a)) t))
13.0ms
(- (* z (/ (sqrt (+ t a)) t)) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))

series325.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(/ (sqrt (+ t a)) t)
15.0ms
(/ 2.0 (* t 3.0))
75.0ms
(* z (/ (sqrt (+ t a)) t))
175.0ms
(- (* z (/ (sqrt (+ t a)) t)) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))

simplify42.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
010821581
150011509

prune654.0ms

Filtered
155 candidates to 112 candidates (72.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1550155
Fresh033
Picked011
Done000
Total1554159

Merged error: 0.5b

Counts
159 → 4

localize29.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 2.0 (* t 3.0))
4.4b
(log (exp (/ 2.0 (* t 3.0))))
5.2b
(/ (* z (sqrt (+ t a))) t)
5.4b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (log (exp (/ 2.0 (* t 3.0)))))))

rewrite33.0ms

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

series296.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ 2.0 (* t 3.0))
16.0ms
(log (exp (/ 2.0 (* t 3.0))))
77.0ms
(/ (* z (sqrt (+ t a))) t)
187.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (log (exp (/ 2.0 (* t 3.0)))))))

simplify82.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
07681017
13739918
25001917

prune465.0ms

Filtered
101 candidates to 79 candidates (78.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1010101
Fresh022
Picked011
Done011
Total1014105

Merged error: 0.5b

Counts
105 → 4

localize31.0ms

Local error

Found 4 expressions with local error:

3.5b
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
3.9b
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
5.7b
(- (* (* 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.1b
(/ (- (* (* 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))))

rewrite205.0ms

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:
8.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
23.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
33.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)))))
58.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.5s

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
199.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
571.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)))))
668.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))))

simplify306.0ms

Algorithm
egg-herbie
Counts
449 → 449
Iterations

Useful iterations: 1 (94.0ms)

IterNodesCost
0464124427
1500124209

prune5.2s

Filtered
449 candidates to 410 candidates (91.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New4481449
Fresh101
Picked011
Done112
Total4503453

Merged error: 0.2b

Counts
453 → 3

regimes252.0ms

Accuracy

12.6% (2.3b remaining)

Error of 2.8b against oracle of 0.5b and baseline of 3.1b

bsearch283.0ms

Steps
ItersRangePoint
9
-1.1979784613185495e-304
2.6730795194504518e-307
1.538403148501507e-308
5
-3.7637723619932478e-264
-1.3902015067047037e-264
-3.6246379140912297e-264

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07651
17651

end0.0ms

sample2.3s

Algorithm
intervals
Results
943.0ms8000×body80valid
724.0ms8247×body80nan