Details

Time bar (total: 16.3s)

sample127.0ms

Algorithm
intervals
Results
43.0ms562×pre80true
19.0ms306×body80nan
19.0ms138×body160valid
8.0ms118×body80valid

simplify112.0ms

Counts
1 → 1
Iterations
IterNodes
done128
5128
4119
386
246
125
014

prune28.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 26.7b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.3b
(- (* b b) (* (* 4.0 a) c))
0.3b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
26.5b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

rewrite116.0ms

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

series438.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
69.0ms
(- (* b b) (* (* 4.0 a) c))
178.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
99.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify1.4s

Counts
102 → 102
Iterations
IterNodes
done5000
22113
1452
0167

prune587.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.4b

localize50.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2))))
0.2b
(fma c (* 4.0 (- a)) (pow b 2))
0.3b
(/ (/ (+ 0 (* (* c a) 4.0)) (- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2))))) (* 2.0 a))
0.4b
(/ (+ 0 (* (* c a) 4.0)) (- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2)))))

rewrite178.0ms

Algorithm
rewrite-expression-head
Rules
123×add-sqr-sqrt *-un-lft-identity
90×times-frac
79×add-cube-cbrt
60×prod-diff
41×sqrt-prod
32×distribute-rgt-neg-in
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
21×distribute-lft-neg-in
18×add-cbrt-cube add-exp-log
10×fma-neg
associate-/r* add-log-exp
cbrt-undiv neg-mul-1 div-exp
associate-/r/
expm1-log1p-u pow1 flip3-- log1p-expm1-u div-inv flip--
associate-/l/
clear-num frac-2neg diff-log prod-exp cbrt-unprod
associate--l- neg-sub0 sub-neg flip3-+ neg-log flip-+ fma-udef
Counts
4 → 225
Calls
4 calls:
18.0ms
(- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2))))
0.0ms
(fma c (* 4.0 (- a)) (pow b 2))
75.0ms
(/ (/ (+ 0 (* (* c a) 4.0)) (- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2))))) (* 2.0 a))
67.0ms
(/ (+ 0 (* (* c a) 4.0)) (- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2)))))

series752.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2))))
79.0ms
(fma c (* 4.0 (- a)) (pow b 2))
270.0ms
(/ (/ (+ 0 (* (* c a) 4.0)) (- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2))))) (* 2.0 a))
288.0ms
(/ (+ 0 (* (* c a) 4.0)) (- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2)))))

simplify2.0s

Counts
237 → 237
Iterations
IterNodes
done5000
24271
1785
0322

prune1.3s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize51.0ms

Local error

Found 4 expressions with local error:

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

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
126×times-frac
91×*-un-lft-identity
57×add-sqr-sqrt add-cube-cbrt
32×distribute-lft-neg-in distribute-rgt-neg-in
27×add-cbrt-cube add-exp-log
17×distribute-lft-out
15×associate-/r* div-inv
10×cbrt-undiv div-exp
neg-mul-1 associate-/l*
prod-exp cbrt-unprod add-log-exp
expm1-log1p-u pow1 log1p-expm1-u
fma-def
clear-num frac-2neg flip3-+ associate-/r/ flip-+ distribute-neg-frac
+-commutative sum-log fma-udef associate-/l/
Counts
4 → 178
Calls
4 calls:
22.0ms
(/ (* (* a 4.0) c) a)
6.0ms
(+ b (sqrt (fma (- c) (* a 4.0) (* b b))))
75.0ms
(/ (/ (* (* a 4.0) c) a) (- (+ b (sqrt (fma (- c) (* a 4.0) (* b b))))))
1.0ms
(fma (- c) (* a 4.0) (* b b))

series449.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ (* (* a 4.0) c) a)
116.0ms
(+ b (sqrt (fma (- c) (* a 4.0) (* b b))))
229.0ms
(/ (/ (* (* a 4.0) c) a) (- (+ b (sqrt (fma (- c) (* a 4.0) (* b b))))))
87.0ms
(fma (- c) (* a 4.0) (* b b))

simplify488.0ms

Counts
190 → 190
Iterations
IterNodes
done5000
1793
0293

prune1.4s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize50.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
106×times-frac
52×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
27×add-cbrt-cube add-exp-log
24×distribute-lft-neg-in distribute-rgt-neg-in
13×associate-/r* div-inv
10×cbrt-undiv div-exp
neg-mul-1 associate-/l*
prod-exp cbrt-unprod
expm1-log1p-u pow1 log1p-expm1-u add-log-exp
clear-num frac-2neg fma-udef
associate-/l/
Counts
4 → 153
Calls
4 calls:
24.0ms
(/ (* (* a 4.0) c) a)
23.0ms
(/ (/ (* (* a 4.0) c) a) (- (fma (sqrt b) (sqrt b) (sqrt (fma (- c) (* a 4.0) (* b b))))))
0.0ms
(fma (- c) (* a 4.0) (* b b))
0.0ms
(fma (sqrt b) (sqrt b) (sqrt (fma (- c) (* a 4.0) (* b b))))

series666.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ (* (* a 4.0) c) a)
314.0ms
(/ (/ (* (* a 4.0) c) a) (- (fma (sqrt b) (sqrt b) (sqrt (fma (- c) (* a 4.0) (* b b))))))
85.0ms
(fma (- c) (* a 4.0) (* b b))
246.0ms
(fma (sqrt b) (sqrt b) (sqrt (fma (- c) (* a 4.0) (* b b))))

simplify524.0ms

Counts
165 → 165
Iterations
IterNodes
done5000
1760
0288

prune1.2s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

regimes321.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify6.0ms

Iterations
IterNodes
done24
124
019

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.2s8508×body80nan
837.0ms4419×body160valid
653.0ms16508×pre80true
302.0ms3581×body80valid