Details

Time bar (total: 4.8s)

analyze471.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
12.5%87.4%0.1%5
18.7%81.1%0.1%6
21.8%71.8%6.4%7
31.2%62.4%6.4%8
35.9%55.4%8.7%9
37.8%48.8%13.4%10
42.7%42.3%15%11
47.7%34.2%18.1%12
49.1%30.4%20.5%13
51.9%25.8%22.3%14

sample45.0ms

Algorithm
intervals
Results
11.0ms168×body80valid
9.0ms31×body2560valid
8.0ms34×body1280valid
3.0ms13×body640valid
1.0ms23×body80nan
1.0msbody320valid
1.0ms12×body80invalid
0.0msbody5120valid
0.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03017
13017

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 33.8b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* b b) (* (* 4.0 a) c))
0.1b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.9b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite26.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-/l*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 69
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
11.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series62.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
050921264

prune157.0ms

Filtered
64 candidates to 81 candidates (-26.6%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New72981
Fresh000
Picked011
Done000
Total721082

Merged error: 4.9b

Counts
82 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* a (/ 2.0 (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))))
0.2b
(/ 1 (* a (/ 2.0 (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b)))))
0.9b
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
30×add-exp-log
23×add-sqr-sqrt
21×associate-*r*
19×times-frac
18×add-cbrt-cube
17×add-cube-cbrt
10×pow1 div-exp
prod-exp distribute-lft-out add-log-exp
cbrt-undiv
distribute-rgt-neg-in cbrt-unprod
rec-exp 1-exp associate-*l* sqrt-prod associate-/r/ associate-/l*
pow-flip flip3-+ sqrt-div associate-*r/ pow-prod-down sum-log flip-+ div-inv unswap-sqr
+-commutative neg-sub0 associate-+r- rem-sqrt-square flip3-- frac-2neg sqrt-pow1 pow1/2 unsub-neg neg-log clear-num associate-/r* *-commutative flip-- inv-pow
Counts
4 → 104
Calls
4 calls:
16.0ms
(* a (/ 2.0 (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))))
14.0ms
(/ 1 (* a (/ 2.0 (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b)))))
8.0ms
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series111.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049631674
149631674

prune171.0ms

Filtered
80 candidates to 116 candidates (-45.0%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1124116
Fresh268
Picked011
Done011
Total11412126

Merged error: 4.9b

Counts
126 → 12

localize23.0ms

Local error

Found 4 expressions with local error:

0.9b
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
0.9b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite24.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
04827976
14827976

prune179.0ms

Filtered
61 candidates to 73 candidates (-19.7%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New72173
Fresh099
Picked101
Done022
Total731285

Merged error: 4.9b

Counts
85 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.9b
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
0.9b
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt sqrt-prod
add-exp-log sqrt-div sum-log add-cbrt-cube distribute-lft-out
+-commutative neg-sub0 associate-+r- rem-sqrt-square flip3-- distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 unsub-neg neg-log flip-- flip-+
Counts
4 → 62
Calls
4 calls:
11.0ms
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
8.0ms
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series55.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
04846974
14846974

prune138.0ms

Filtered
60 candidates to 74 candidates (-23.3%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New74074
Fresh099
Picked011
Done022
Total741286

Merged error: 4.9b

Counts
86 → 12

regimes564.0ms

Accuracy

84.1% (4.6b remaining)

Error of 10.0b against oracle of 5.4b and baseline of 34.1b

bsearch593.0ms

Steps
ItersRangePoint
10
3.871189569794153e-134
8.390398378442516e-122
5.194362910626694e-122
10
-1.8268856981153665e+137
-5.174635489623954e+120
-1.3847614318092212e+134

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03746
13746

end0.0ms

analyze454.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
12.5%87.4%0.1%5
18.7%81.1%0.1%6
21.8%71.8%6.4%7
31.2%62.4%6.4%8
35.9%55.4%8.7%9
37.8%48.8%13.4%10
42.7%42.3%15%11
47.7%34.2%18.1%12
49.1%30.4%20.5%13
51.9%25.8%22.3%14

sample1.3s

Algorithm
intervals
Results
336.0ms1067×body2560valid
280.0ms5126×body80valid
228.0ms887×body1280valid
94.0ms474×body640valid
42.0ms114×body5120valid
35.0ms694×body80nan
33.0ms221×body320valid
23.0ms385×body80invalid
11.0ms111×body160valid

Profiling

Loading profile data...