Details

Time bar (total: 3.4s)

analyze501.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

sample37.0ms

Algorithm
intervals
Results
24.0ms256×body80valid
1.0ms16×body80nan
1.0ms12×body80invalid

simplify224.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (223.0ms)

IterNodesCost
0353237
1353237

prune12.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

localize21.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.5b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-sqr-sqrt add-log-exp
sqrt-prod
pow1 add-cube-cbrt
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip--
neg-sub0 rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 diff-log neg-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 62
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* 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)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series63.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049001063
149001063

prune184.0ms

Filtered
63 candidates to 74 candidates (-17.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New68674
Fresh011
Picked101
Done000
Total69776

Merged error: 6.1b

Counts
76 → 7

localize26.0ms

Local error

Found 4 expressions with local error:

1.5b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.1b
(* c (/ a b))
7.4b
(/ (+ (* 2.0 (* c (/ a b))) (* b -2)) (* 2.0 a))
24.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite33.0ms

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

series52.0ms

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

simplify27.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
051031167

prune200.0ms

Filtered
74 candidates to 97 candidates (-31.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New90797
Fresh336
Picked101
Done000
Total9410104

Merged error: 6.0b

Counts
104 → 10

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 2.0 c) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.4b
(- (* b b) (* (* 4.0 a) c))
1.5b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.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)))))
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)))

series93.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ (* 2.0 c) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
10.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)))

simplify39.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
056651168

prune167.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New76480
Fresh369
Picked101
Done000
Total801090

Merged error: 6.0b

Counts
90 → 10

localize29.0ms

Local error

Found 4 expressions with local error:

24.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(cbrt (* c (/ a b)))
25.6b
(cbrt (* c (/ a b)))
25.6b
(cbrt (* c (/ a b)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube add-log-exp
cbrt-prod cbrt-div pow1/3 associate-*r/ sqrt-prod
sqrt-div
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
Counts
4 → 45
Calls
4 calls:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (* c (/ a b)))
4.0ms
(cbrt (* c (/ a b)))
4.0ms
(cbrt (* c (/ a b)))

series95.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
27.0ms
(cbrt (* c (/ a b)))
32.0ms
(cbrt (* c (/ a b)))
21.0ms
(cbrt (* c (/ a b)))

simplify37.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05057527

prune96.0ms

Filtered
49 candidates to 57 candidates (-16.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New56157
Fresh099
Picked101
Done000
Total571067

Merged error: 6.0b

Counts
67 → 10

regimes272.0ms

Accuracy

91.6% (1.3b remaining)

Error of 7.0b against oracle of 5.7b and baseline of 20.9b

bsearch40.0ms

Steps
ItersRangePoint
6
1.0672592596569214e+96
1.3516021862208058e+97
1.279846718371356e+97
5
-7.10397709953434e+89
-2.8750983083054284e+89
-6.197456258693133e+89

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
013574
113574

end0.0ms

sample1.0s

Algorithm
intervals
Results
727.0ms8000×body80valid
60.0ms683×body80nan
36.0ms412×body80invalid

Profiling

Loading profile data...