Details

Time bar (total: 3.9s)

analyze266.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14

sample59.0ms

Algorithm
intervals
Results
13.0ms143×body160valid
5.0ms113×body80valid

simplify205.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (203.0ms)

IterNodesCost
0193116
1193116

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 28.2b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* 4.0 (* a c))))
0.3b
(- (* b b) (* 4.0 (* a c)))
0.3b
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
28.1b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
13×*-un-lft-identity
add-exp-log add-cbrt-cube
add-log-exp
add-cube-cbrt
times-frac sqrt-prod associate-/l* difference-of-squares
pow1
flip3-- flip--
distribute-lft-out--
cbrt-undiv sub-neg sqrt-div diff-log div-exp associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
6.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(- (* b b) (* 4.0 (* a c)))
11.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)

series64.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
9.0ms
(- (* b b) (* 4.0 (* a c)))
25.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
16.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)

simplify39.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
053401316

prune328.0ms

Filtered
62 candidates to 82 candidates (-32.3%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New651782
Fresh000
Picked101
Done000
Total661783

Merged error: 9.0b

Counts
83 → 17

localize3.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune64.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01616
Picked011
Done000
Total01717

Merged error: 9.0b

Counts
17 → 17

localize7.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (/ a b) c)
0.3b
(/ (* -2.0 (* (/ a b) c)) (* a 2.0))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
39×add-exp-log add-cbrt-cube
16×prod-exp cbrt-unprod
15×add-sqr-sqrt
13×associate-*l*
11×cbrt-undiv times-frac div-exp
10×add-cube-cbrt *-un-lft-identity
pow1
associate-*r*
associate-*l/ div-inv add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num associate-/r* *-commutative associate-/l/ associate-/l*
Counts
2 → 62
Calls
2 calls:
6.0ms
(* (/ a b) c)
10.0ms
(/ (* -2.0 (* (/ a b) c)) (* a 2.0))

series10.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(* (/ a b) c)
5.0ms
(/ (* -2.0 (* (/ a b) c)) (* a 2.0))

simplify43.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
04991490
14991490

prune176.0ms

Filtered
42 candidates to 68 candidates (-61.9%)
Pruning

31 alts after pruning (30 fresh and 1 done)

PrunedKeptTotal
New531568
Fresh01515
Picked101
Done011
Total543185

Merged error: 9.0b

Counts
85 → 31

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (* -2.0 (* (/ (sqrt a) (sqrt b)) (* c (/ (sqrt a) (sqrt b))))) (* a 2.0))
0.3b
(* (/ (sqrt a) (sqrt b)) (* c (/ (sqrt a) (sqrt b))))
0.4b
(/ (sqrt a) (sqrt b))
0.4b
(/ (sqrt a) (sqrt b))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
120×sqrt-prod
113×add-exp-log add-cbrt-cube
109×times-frac
85×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
52×prod-exp cbrt-unprod
40×associate-*l*
33×cbrt-undiv div-exp
13×associate-/r* associate-/l*
pow1 associate-*r/
div-inv add-log-exp
frac-2neg pow-prod-down clear-num associate-/l/
frac-times sqrt-undiv associate-*l/
associate-*r* *-commutative
Counts
4 → 236
Calls
4 calls:
19.0ms
(/ (* -2.0 (* (/ (sqrt a) (sqrt b)) (* c (/ (sqrt a) (sqrt b))))) (* a 2.0))
16.0ms
(* (/ (sqrt a) (sqrt b)) (* c (/ (sqrt a) (sqrt b))))
5.0ms
(/ (sqrt a) (sqrt b))
5.0ms
(/ (sqrt a) (sqrt b))

series47.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(/ (* -2.0 (* (/ (sqrt a) (sqrt b)) (* c (/ (sqrt a) (sqrt b))))) (* a 2.0))
10.0ms
(* (/ (sqrt a) (sqrt b)) (* c (/ (sqrt a) (sqrt b))))
14.0ms
(/ (sqrt a) (sqrt b))
10.0ms
(/ (sqrt a) (sqrt b))

simplify84.0ms

Algorithm
egg-herbie
Counts
248 → 248
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
049692579
149692579

prune163.0ms

Filtered
131 candidates to 248 candidates (-89.3%)
Pruning

34 alts after pruning (32 fresh and 2 done)

PrunedKeptTotal
New2399248
Fresh62329
Picked011
Done011
Total24534279

Merged error: 8.9b

Counts
279 → 34

regimes674.0ms

Accuracy

48.2% (7.2b remaining)

Error of 16.2b against oracle of 9.0b and baseline of 22.9b

bsearch7.0ms

Steps
ItersRangePoint
1
470.7727883511468
491.58029478306963
486.3784181750889

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09639
19639

end0.0ms

sample1.5s

Algorithm
intervals
Results
408.0ms4417×body160valid
169.0ms3583×body80valid

Profiling

Loading profile data...