Details

Time bar (total: 3.6s)

analyze525.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
23.0ms256×body80valid
2.0ms17×body80nan
1.0msbody80invalid

simplify216.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (215.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: 17.3b

Counts
2 → 2

localize25.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.8b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.7b
(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))))
9.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)))

series61.0ms

Counts
4 → 12
Calls
4 calls:
18.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)))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify58.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049001063
149001063

prune190.0ms

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New68674
Fresh101
Picked101
Done000
Total70676

Merged error: 4.6b

Counts
76 → 6

localize30.0ms

Local error

Found 4 expressions with local error:

7.6b
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* 4.0 (* a c))))) (sqrt (sqrt (- (* b b) (* 4.0 (* a c)))))))
20.7b
(sqrt (- (* b b) (* 4.0 (* a c))))
20.7b
(sqrt (- (* b b) (* 4.0 (* a c))))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
sum-log
+-commutative neg-sub0 associate-+l- flip3-+ neg-log flip-+
Counts
4 → 58
Calls
4 calls:
4.0ms
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* 4.0 (* a c))))) (sqrt (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))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series58.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
04959931
14959931

prune188.0ms

Filtered
58 candidates to 70 candidates (-20.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New70070
Fresh055
Picked011
Done000
Total70676

Merged error: 4.6b

Counts
76 → 6

localize25.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0b
(* c (/ a b))
3.4b
(/ (+ (* 2.0 (* c (/ a b))) (* b -2)) (* 2.0 a))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite30.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))
10.0ms
(/ (+ (* 2.0 (* c (/ a b))) (* b -2)) (* 2.0 a))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series50.0ms

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

simplify27.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
051031167

prune195.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New93497
Fresh044
Picked101
Done011
Total949103

Merged error: 4.5b

Counts
103 → 9

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))
0.8b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.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)))

series88.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
056651168

prune133.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New77380
Fresh077
Picked101
Done101
Total791089

Merged error: 4.5b

Counts
89 → 10

regimes328.0ms

Accuracy

93.5% (1.0b remaining)

Error of 6.6b against oracle of 5.6b and baseline of 21.1b

bsearch108.0ms

Steps
ItersRangePoint
9
4.5822900966867137e+145
9.979557504900018e+150
2.745617712906307e+146
8
1.899056070754716e-303
2.1904377506738937e-300
4.6451347271489274e-303
10
-8.86880988964721e+112
-6.91697785679341e+100
-6.999030654439093e+112

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0163172
1163172

end0.0ms

sample1.0s

Algorithm
intervals
Results
742.0ms8000×body80valid
56.0ms656×body80nan
32.0ms368×body80invalid

Profiling

Loading profile data...