Details

Time bar (total: 3.6s)

analyze272.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14

sample44.0ms

Algorithm
intervals
Results
14.0ms151×body160valid
8.0ms285×pre80true
7.0ms47×body320valid
3.0ms58×body80valid
1.0ms29×body80nan

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: 43.5b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.2b
(- (* b b) (* (* 4.0 a) c))
0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
38.8b
(+ (neg b) (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-/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
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(- (* b b) (* (* 4.0 a) c))
12.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
10.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series67.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
050921264

prune137.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New76581
Fresh000
Picked101
Done000
Total77582

Merged error: 0.2b

Counts
82 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
0.2b
(- (* b b) (* 4.0 (* a c)))
0.3b
(/ (/ (* 4.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
0.3b
(/ (* 4.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
45×add-exp-log add-cbrt-cube
34×times-frac
30×add-sqr-sqrt *-un-lft-identity
17×cbrt-undiv div-exp
14×associate-/l*
13×prod-exp cbrt-unprod
10×add-cube-cbrt distribute-lft-out-- add-log-exp difference-of-squares
associate-/r*
associate-/r/
flip3-- distribute-rgt-neg-in sqrt-prod flip--
pow1 div-inv
diff-log
sub-neg frac-2neg clear-num
associate--l- neg-sub0 neg-log associate-/l/
Counts
4 → 115
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
3.0ms
(- (* b b) (* 4.0 (* a c)))
18.0ms
(/ (/ (* 4.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
13.0ms
(/ (* 4.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))

series132.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
9.0ms
(- (* b b) (* 4.0 (* a c)))
47.0ms
(/ (/ (* 4.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
60.0ms
(/ (* 4.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))

simplify48.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
051082561

prune200.0ms

Filtered
79 candidates to 127 candidates (-60.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1198127
Fresh404
Picked101
Done000
Total1248132

Merged error: 0b

Counts
132 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* 4.0 (* a c))))
0.1b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
0.1b
(/ c (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
0.2b
(- (* b b) (* 4.0 (* a c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
37×*-un-lft-identity
21×times-frac
17×add-cube-cbrt
10×distribute-lft-out-- add-log-exp difference-of-squares
sqrt-prod
associate-/r*
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in
flip3-- flip--
diff-log associate-/l*
sub-neg sqrt-div associate-/r/
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp neg-log clear-num div-inv
Counts
4 → 88
Calls
4 calls:
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
10.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
10.0ms
(/ c (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
4.0ms
(- (* b b) (* 4.0 (* a c)))

series90.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049421771
149421771

prune168.0ms

Filtered
71 candidates to 100 candidates (-40.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New991100
Fresh167
Picked011
Done000
Total1008108

Merged error: 0b

Counts
108 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
0.1b
(/ 1 (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
0.2b
(- (* b b) (* 4.0 (* a c)))
0.3b
(* c (/ 1 (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
67×add-sqr-sqrt
61×*-un-lft-identity
44×times-frac
28×add-cube-cbrt
27×associate-*r*
17×add-exp-log
16×distribute-lft-out-- difference-of-squares
11×add-cbrt-cube
10×add-log-exp
distribute-rgt-neg-in sqrt-prod
pow1 associate-/r*
flip3-- div-exp prod-exp associate-/r/ flip--
diff-log associate-*l* associate-/l* unswap-sqr
cbrt-undiv sub-neg rec-exp 1-exp cbrt-unprod div-inv
associate--l- neg-sub0 pow-flip frac-2neg associate-*r/ pow-prod-down neg-log clear-num un-div-inv *-commutative inv-pow
Counts
4 → 127
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
11.0ms
(/ 1 (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
4.0ms
(- (* b b) (* 4.0 (* a c)))
16.0ms
(* c (/ 1 (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))

series101.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
28.0ms
(/ 1 (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
9.0ms
(- (* b b) (* 4.0 (* a c)))
49.0ms
(* c (/ 1 (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))

simplify56.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
055522346

prune183.0ms

Filtered
86 candidates to 139 candidates (-61.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1390139
Fresh066
Picked011
Done011
Total1398147

Merged error: 0b

Counts
147 → 8

regimes204.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01819
11819

end0.0ms

analyze268.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14

sample1.3s

Algorithm
intervals
Results
466.0ms4794×body160valid
271.0ms8978×pre80true
202.0ms1394×body320valid
92.0ms1812×body80valid
52.0ms978×body80nan

Profiling

Loading profile data...