Details

Time bar (total: 3.6s)

analyze499.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
18.7%81.1%0.1%6
26.5%67.1%6.4%7
35.1%58.5%6.4%8
41.3%49.9%8.7%9
46.4%40.2%13.4%10
50.8%34.2%15%11
55.2%26.7%18.1%12
57.4%22%20.6%13
59.8%17.9%22.3%14

sample35.0ms

Algorithm
intervals
Results
21.0ms256×body80valid
2.0ms22×body80nan
1.0ms10×body80invalid

simplify219.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (218.0ms)

IterNodesCost
0353237
1353237

prune17.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.0b

Counts
2 → 2

localize22.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
2.5b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt sqrt-prod
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip--
rem-sqrt-square sqrt-pow1 pow1/2 sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg distribute-rgt-neg-in flip3-+ diff-log neg-log flip-+
Counts
4 → 56
Calls
4 calls:
4.0ms
(- (* b b) (* (* 4.0 a) c))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series64.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* (* 4.0 a) c))
19.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify37.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
05026902

prune189.0ms

Filtered
58 candidates to 68 candidates (-17.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New61768
Fresh011
Picked101
Done000
Total62870

Merged error: 6.4b

Counts
70 → 8

localize24.0ms

Local error

Found 4 expressions with local error:

2.5b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.3b
(* c (/ a b))
5.0b
(/ (- (neg b) (- b (* 2.0 (* c (/ a b))))) (* 2.0 a))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
25×add-sqr-sqrt
16×times-frac
15×add-cube-cbrt
14×add-exp-log add-cbrt-cube
13×associate-*r*
add-log-exp
pow1
associate-/l*
distribute-lft-out--
cbrt-undiv distribute-rgt-neg-in div-exp associate-*l* prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- div-inv associate-/l/ distribute-lft-out difference-of-squares unswap-sqr
+-commutative neg-sub0 associate-+l- rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 div-sub associate-*r/ pow-prod-down neg-log clear-num associate-/r* *-commutative flip-+
Counts
4 → 92
Calls
4 calls:
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
6.0ms
(* c (/ a b))
9.0ms
(/ (- (neg b) (- b (* 2.0 (* c (/ a b))))) (* 2.0 a))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series47.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.0ms
(* c (/ a b))
14.0ms
(/ (- (neg b) (- b (* 2.0 (* c (/ a b))))) (* 2.0 a))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
058261298

prune206.0ms

Filtered
77 candidates to 104 candidates (-35.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New995104
Fresh257
Picked101
Done000
Total10210112

Merged error: 6.3b

Counts
112 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 2.0 c) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
1.0b
(- (* b b) (* (* 4.0 a) c))
2.5b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/r*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv flip3-- flip3-+ sqrt-div div-exp sum-log associate-/r/ flip-- flip-+
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log neg-log prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 68
Calls
4 calls:
11.0ms
(/ (* 2.0 c) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
5.0ms
(- (* b b) (* (* 4.0 a) c))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series92.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(/ (* 2.0 c) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
9.0ms
(- (* b b) (* (* 4.0 a) c))
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify42.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
056651168

prune186.0ms

Filtered
64 candidates to 80 candidates (-25.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New75580
Fresh369
Picked101
Done000
Total791190

Merged error: 6.3b

Counts
90 → 11

localize24.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* 2.0 c) (/ 1 (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)))
1.0b
(- (* b b) (* 4.0 (* a c)))
2.5b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
23.7b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
26×add-exp-log
24×associate-*r*
23×*-un-lft-identity
18×times-frac
16×add-cbrt-cube
15×add-cube-cbrt
12×prod-exp
10×pow1
add-log-exp difference-of-squares
sqrt-prod
cbrt-unprod
flip3-- div-exp flip-- distribute-lft-out--
pow-prod-down
cbrt-undiv sub-neg rec-exp sqrt-div diff-log 1-exp associate-/r/
rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ associate-*l* un-div-inv *-commutative div-inv
Counts
4 → 89
Calls
4 calls:
15.0ms
(* (* 2.0 c) (/ 1 (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)))
4.0ms
(- (* b b) (* 4.0 (* a c)))
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series90.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (* 2.0 c) (/ 1 (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)))
11.0ms
(- (* b b) (* 4.0 (* a c)))
14.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify51.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
055121505

prune142.0ms

Filtered
68 candidates to 101 candidates (-48.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1001101
Fresh01010
Picked011
Done000
Total10012112

Merged error: 6.3b

Counts
112 → 12

regimes359.0ms

Accuracy

84.6% (2.4b remaining)

Error of 7.5b against oracle of 5.1b and baseline of 20.5b

bsearch55.0ms

Steps
ItersRangePoint
6
3.739588766438843e-37
5.061939977428652e-36
4.975098882869693e-36
10
-1.6876759142040848e+157
-4.442572438965788e+146
-5.1522591167793966e+151

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227142
1227142

end0.0ms

sample968.0ms

Algorithm
intervals
Results
683.0ms8000×body80valid
54.0ms685×body80nan
30.0ms345×body80invalid

Profiling

Loading profile data...