Details

Time bar (total: 4.4s)

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

sample64.0ms

Algorithm
intervals
Results
21.0ms256×body80valid

simplify219.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (217.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.3b

Counts
2 → 2

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.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:
9.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
11.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)))

series58.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)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify57.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049001063
149001063

prune189.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: 4.9b

Counts
76 → 7

localize24.0ms

Local error

Found 4 expressions with local error:

2.5b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
2.5b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
23.4b
(sqrt (- (* b b) (* 4.0 (* a c))))
23.4b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite26.0ms

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

series60.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
048951082
148951082

prune160.0ms

Filtered
58 candidates to 73 candidates (-25.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New73073
Fresh066
Picked011
Done000
Total73780

Merged error: 4.9b

Counts
80 → 7

localize28.0ms

Local error

Found 4 expressions with local error:

12.4b
(- (neg b) (* (sqrt (sqrt (- (* b b) (* 4.0 (* a c))))) (sqrt (sqrt (- (* b b) (* 4.0 (* a c)))))))
23.4b
(sqrt (- (* b b) (* 4.0 (* a c))))
23.4b
(sqrt (- (* b b) (* 4.0 (* a c))))
23.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log flip3-- add-cbrt-cube flip--
rem-sqrt-square sqrt-pow1 pow1/2
diff-log
associate--l- neg-sub0 sub-neg neg-log difference-of-squares
Counts
4 → 59
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)))

series59.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))))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
16.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify48.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
04873981
14873981

prune193.0ms

Filtered
60 candidates to 71 candidates (-18.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New71071
Fresh055
Picked011
Done011
Total71778

Merged error: 4.9b

Counts
78 → 7

localize29.0ms

Local error

Found 4 expressions with local error:

11.7b
(- (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
23.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.2b
(cbrt (- (* b b) (* 4.0 (* a c))))
24.2b
(cbrt (- (* b b) (* 4.0 (* a c))))

rewrite18.0ms

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

series98.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
26.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))

simplify69.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
049031193
149031193

prune176.0ms

Filtered
55 candidates to 66 candidates (-20.0%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New66066
Fresh044
Picked011
Done022
Total66773

Merged error: 4.9b

Counts
73 → 7

regimes271.0ms

Accuracy

91.6% (1.2b remaining)

Error of 7.1b against oracle of 5.9b and baseline of 20.2b

bsearch90.0ms

Steps
ItersRangePoint
10
4.188433678503961e+46
6.0316351026260574e+57
5.9747984435476024e+57
9
-1.0912392884303037e+142
-2.907909039459474e+136
-5.790101578899714e+138

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0177116
1177116

end0.0ms

sample1.8s

Algorithm
intervals
Results
654.0ms8000×body80valid

Profiling

Loading profile data...