Details

Time bar (total: 8.7s)

sample94.0ms

Algorithm
intervals
Results
29.0ms258×body80nan
27.0ms256×body80valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05017
110617
237417
3165217
4500117

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

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(* z (sqrt (+ t a)))
0.2b
(/ 2.0 (* t 3.0))
2.3b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
4.4b
(/ (* z (sqrt (+ t a))) t)

rewrite36.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)))))
7.0ms
(/ (* z (sqrt (+ t a))) t)

series331.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
010191262
150011200

prune518.0ms

Filtered
113 candidates to 88 candidates (77.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1103113
Fresh000
Picked101
Done000
Total1113114

Merged error: 0.5b

Counts
114 → 3

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 2.0 (* t 3.0))
3.2b
(log (exp (/ 2.0 (* t 3.0))))
3.8b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (log (exp (/ 2.0 (* t 3.0)))))))
4.4b
(/ (* z (sqrt (+ t a))) t)

rewrite34.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))
7.0ms
(log (exp (/ 2.0 (* t 3.0))))
12.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (log (exp (/ 2.0 (* t 3.0)))))))
8.0ms
(/ (* z (sqrt (+ t a))) t)

series283.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
07681017
13739918
25001917

prune461.0ms

Filtered
101 candidates to 79 candidates (78.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1001101
Fresh112
Picked011
Done000
Total1013104

Merged error: 0.3b

Counts
104 → 3

localize30.0ms

Local error

Found 4 expressions with local error:

4.0b
(- (* b b) (* c c))
5.5b
(* t (- (* b b) (* c c)))
6.3b
(+ (* (* z (sqrt (+ t a))) (+ b c)) (neg (* (* t (- (* b b) (* c c))) (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0)))))))
25.8b
(/ (+ (* (* z (sqrt (+ t a))) (+ b c)) (neg (* (* t (- (* b b) (* c c))) (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0))))))) (* t (+ b c)))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
260×associate-*r/
147×flip3-+ flip-+
128×frac-times frac-add distribute-neg-frac
96×sqrt-div
66×associate-/l/
64×associate-*l/
50×flip3-- flip--
11×add-exp-log add-cbrt-cube
10×add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity
pow1
distribute-rgt-in distribute-lft-in associate-*r*
sub-neg times-frac div-sub associate-*l* associate-/l*
cbrt-undiv neg-sub0 associate-+r- associate-+l+ associate-+r+ distribute-neg-in div-exp unsub-neg prod-exp sum-log associate-/r/ cbrt-unprod difference-of-squares
+-commutative frac-2neg diff-log pow-prod-down neg-log clear-num associate-/r* *-commutative div-inv unswap-sqr
Counts
4 → 213
Calls
4 calls:
4.0ms
(- (* b b) (* c c))
7.0ms
(* t (- (* b b) (* c c)))
19.0ms
(+ (* (* z (sqrt (+ t a))) (+ b c)) (neg (* (* t (- (* b b) (* c c))) (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0)))))))
27.0ms
(/ (+ (* (* z (sqrt (+ t a))) (+ b c)) (neg (* (* t (- (* b b) (* c c))) (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0))))))) (* t (+ b c)))

series1.1s

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* b b) (* c c))
68.0ms
(* t (- (* b b) (* c c)))
495.0ms
(+ (* (* z (sqrt (+ t a))) (+ b c)) (neg (* (* t (- (* b b) (* c c))) (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0)))))))
519.0ms
(/ (+ (* (* z (sqrt (+ t a))) (+ b c)) (neg (* (* t (- (* b b) (* c c))) (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0))))))) (* t (+ b c)))

simplify106.0ms

Algorithm
egg-herbie
Counts
225 → 225
Iterations

Useful iterations: 1 (48.0ms)

IterNodesCost
022886919
150016776

prune2.3s

Filtered
225 candidates to 201 candidates (89.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2241225
Fresh011
Picked011
Done011
Total2244228

Merged error: 0b

Counts
228 → 4

localize18.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* a c) (* 0.8333333333333334 c))
0.1b
(exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))
1.9b
(- (+ (* a c) (* 0.8333333333333334 c)) (* a b))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
12×add-log-exp
exp-sum
pow1 add-exp-log distribute-rgt-in add-sqr-sqrt add-cube-cbrt sub-neg *-un-lft-identity distribute-lft-in associate--l+ add-cbrt-cube
diff-log sum-log
+-commutative exp-prod distribute-rgt-out flip3-- exp-to-pow flip3-+ flip-- flip-+ rem-exp-log
Counts
3 → 42
Calls
3 calls:
4.0ms
(+ (* a c) (* 0.8333333333333334 c))
6.0ms
(exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))
6.0ms
(- (+ (* a c) (* 0.8333333333333334 c)) (* a b))

series108.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(+ (* a c) (* 0.8333333333333334 c))
38.0ms
(exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))
34.0ms
(- (+ (* a c) (* 0.8333333333333334 c)) (* a b))

simplify99.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0230346
1806314
23157301
35001297

prune123.0ms

Filtered
51 candidates to 34 candidates (66.7%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New51051
Fresh011
Picked011
Done022
Total51455

Merged error: 0b

Counts
55 → 4

regimes331.0ms

Accuracy

35.4% (6.5b remaining)

Error of 7.2b against oracle of 0.7b and baseline of 10.8b

bsearch297.0ms

Steps
ItersRangePoint
8
1.1228793664463638e-05
0.019291922718629697
0.0009400965580265947
7
-3.7321692157518104e-116
-1.3786212500559384e-117
-5.209962005672711e-117

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09454
110654
210654

end0.0ms

sample2.1s

Algorithm
intervals
Results
747.0ms8000×body80valid
728.0ms8033×body80nan

Profiling

Loading profile data...