Details

Time bar (total: 4.1s)

sample38.0ms

Algorithm
intervals
Results
8.0ms35×body1280valid
7.0ms194×body80valid
6.0ms29×body2560valid
2.0ms71×body80nan
1.0msbody640valid
1.0msbody320valid
0.0msbody5120valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.7b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.6b
(- (* b b) (* (* 3.0 a) c))
0.7b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
20.3b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
11×add-sqr-sqrt
10×add-cube-cbrt fma-def add-log-exp
add-exp-log add-cbrt-cube
distribute-rgt-neg-in distribute-lft-out
pow1 times-frac associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub prod-diff neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 90
Calls
4 calls:
35.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
3.0ms
(- (* b b) (* (* 3.0 a) c))
12.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series285.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
45.0ms
(- (* b b) (* (* 3.0 a) c))
76.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
65.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0433855
11670751
25001736

prune289.0ms

Filtered
102 candidates to 82 candidates (80.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.5b

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.6b
(- (* b b) (* (* 3.0 a) c))
0.7b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
20.3b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×pow1 add-sqr-sqrt fma-def add-log-exp
add-exp-log add-cube-cbrt add-cbrt-cube
expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u
distribute-lft-neg-in associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*l* prod-diff neg-log *-commutative flip-+
Counts
4 → 80
Calls
4 calls:
6.0ms
(* (* 3.0 a) c)
3.0ms
(- (* b b) (* (* 3.0 a) c))
12.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series206.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
43.0ms
(- (* b b) (* (* 3.0 a) c))
76.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0337530
11440479
25002467

prune245.0ms

Filtered
92 candidates to 71 candidates (77.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.5b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(* 3.0 (* a c))
0.6b
(- (* b b) (* 3.0 (* a c)))
0.7b
(+ (- b) (sqrt (- (* b b) (* 3.0 (* a c)))))
20.3b
(sqrt (- (* b b) (* 3.0 (* a c))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×pow1 add-sqr-sqrt fma-def add-log-exp
add-exp-log add-cube-cbrt add-cbrt-cube
expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u
distribute-lft-neg-in associate-*l* pow-prod-down prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*r* prod-diff neg-log *-commutative flip-+
Counts
4 → 80
Calls
4 calls:
6.0ms
(* 3.0 (* a c))
3.0ms
(- (* b b) (* 3.0 (* a c)))
12.0ms
(+ (- b) (sqrt (- (* b b) (* 3.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 3.0 (* a c))))

series228.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* 3.0 (* a c))
43.0ms
(- (* b b) (* 3.0 (* a c)))
79.0ms
(+ (- b) (sqrt (- (* b b) (* 3.0 (* a c)))))
81.0ms
(sqrt (- (* b b) (* 3.0 (* a c))))

simplify42.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0330529
11217478
25001467

prune231.0ms

Filtered
92 candidates to 70 candidates (76.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 4.5b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* 3.0 a) (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.6b
(- (* b b) (* (* 3.0 a) c))
0.7b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
20.3b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
11×add-sqr-sqrt
10×add-cube-cbrt fma-def add-log-exp
add-exp-log add-cbrt-cube
distribute-rgt-neg-in distribute-lft-out
pow1 times-frac associate-/r*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod
cbrt-undiv flip3-- flip3-+ sqrt-div div-exp sum-log associate-/r/ flip-- flip-+
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log prod-diff neg-log prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 89
Calls
4 calls:
25.0ms
(/ (* 3.0 a) (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
3.0ms
(- (* b b) (* (* 3.0 a) c))
12.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series414.0ms

Counts
4 → 12
Calls
4 calls:
188.0ms
(/ (* 3.0 a) (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
47.0ms
(- (* b b) (* (* 3.0 a) c))
107.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
73.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify48.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0399830
11688721
25001704

prune243.0ms

Filtered
101 candidates to 80 candidates (79.2%)
Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 4.5b

regimes369.0ms

Accuracy

85% (4.3b remaining)

Error of 9.7b against oracle of 5.4b and baseline of 34.2b

bsearch64.0ms

Steps
ItersRangePoint
4
3.761319948406741e-42
5.3303289756926204e-42
4.300666801536262e-42
7
-3.383610052221448e+122
-1.4683631826756258e+120
-4.7297088727929035e+120

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03416
13416

end0.0ms

sample1.1s

Algorithm
intervals
Results
238.0ms1110×body2560valid
220.0ms5800×body80valid
152.0ms876×body1280valid
103.0ms2950×body80nan
61.0ms458×body640valid
31.0ms113×body5120valid
24.0ms235×body320valid
8.0ms110×body160valid