Details

Time bar (total: 21.1s)

sample150.0ms

Algorithm
intervals
Results
49.0ms147×body160valid
27.0ms282×body80nan
23.0ms538×pre80true
13.0ms45×body320valid
6.0ms64×body80valid

simplify148.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
01417
12517
24616
38616
410816
511616
done11616

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 42.7b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite190.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:
13.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
10.0ms
(- (* b b) (* (* 4.0 a) c))
108.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
56.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series384.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
54.0ms
(- (* b b) (* (* 4.0 a) c))
121.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
113.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify1.5s

Counts
102 → 102
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01671697
14331584
214811361
done50001347

prune351.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite234.0ms

Algorithm
rewrite-expression-head
Rules
123×add-sqr-sqrt *-un-lft-identity
90×times-frac
79×add-cube-cbrt
61×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-exp-log add-cbrt-cube
11×fma-neg
10×add-log-exp
associate-/r*
cbrt-undiv neg-mul-1 div-exp
associate-/r/
flip3-- flip--
pow1 expm1-log1p-u log1p-expm1-u div-inv
diff-log associate-/l/
sub-neg frac-2neg prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 flip3-+ neg-log flip-+
Counts
4 → 231
Calls
4 calls:
34.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
10.0ms
(- (* b b) (* (* 4.0 a) c))
106.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
73.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series644.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
68.0ms
(- (* b b) (* (* 4.0 a) c))
202.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
249.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify1.9s

Counts
243 → 243
Iterations

Useful iterations: done (1.9s)

IterNodesCost
034010026
18127598
232366483
done50016397

prune798.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite385.0ms

Algorithm
rewrite-expression-head
Rules
181×prod-diff
135×add-sqr-sqrt
133×*-un-lft-identity
125×add-cube-cbrt
92×sqrt-prod
62×distribute-rgt-in distribute-lft-in
59×distribute-rgt-neg-in
57×distribute-lft-neg-in
19×neg-mul-1
15×add-exp-log add-cbrt-cube
11×fma-neg
10×add-log-exp
associate-*r*
pow1
expm1-log1p-u sub-neg flip3-- associate-*r/ prod-exp flip-- cbrt-unprod log1p-expm1-u distribute-lft-out-- difference-of-squares
cbrt-undiv times-frac diff-log div-exp associate-*l* associate-/l*
associate-*l/ associate-/r/ associate-/l/
associate--l- neg-sub0 frac-2neg flip3-+ pow-prod-down neg-log clear-num associate-/r* *-commutative flip-+ div-inv unswap-sqr
Counts
4 → 285
Calls
4 calls:
55.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
17.0ms
(- (* b b) (* (* 4.0 a) c))
145.0ms
(* a (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
137.0ms
(/ (+ 0 (* (* a c) 4.0)) (* (* a (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) 2.0))

series524.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
54.0ms
(- (* b b) (* (* 4.0 a) c))
156.0ms
(* a (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
205.0ms
(/ (+ 0 (* (* a c) 4.0)) (* (* a (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) 2.0))

simplify2.2s

Counts
297 → 297
Iterations

Useful iterations: done (2.2s)

IterNodesCost
037517028
178611195
232458620
done50018367

prune1.1s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

localize67.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ (+ 0 (* (* a c) 4.0)) (- (- b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (fma (* (* c 4.0) a) (fma b b (* 4.0 (* a c))) (pow b 4)))))) (* 2.0 a))
0.3b
(/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (fma (* (* c 4.0) a) (fma b b (* 4.0 (* a c))) (pow b 4)))
0.3b
(/ (+ 0 (* (* a c) 4.0)) (- (- b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (fma (* (* c 4.0) a) (fma b b (* 4.0 (* a c))) (pow b 4))))))
0.7b
(pow (* (* 4.0 a) c) 3)

rewrite639.0ms

Algorithm
rewrite-expression-head
Rules
155×add-sqr-sqrt
142×times-frac
105×*-un-lft-identity
57×add-cube-cbrt
54×difference-of-squares
43×associate-/l*
26×add-exp-log add-cbrt-cube
24×distribute-lft-out--
21×sqr-pow
20×sqrt-prod
12×associate-/r*
10×pow1 distribute-rgt-neg-in
unpow-prod-down
cbrt-undiv div-exp
associate-/r/
prod-exp cbrt-unprod div-inv associate-/l/
expm1-log1p-u flip3-- flip-- log1p-expm1-u add-log-exp
pow-unpow pow-pow frac-2neg pow-prod-down pow-exp clear-num rem-cube-cbrt
cube-mult pow-to-exp flip3-+ unpow3 div-sub cube-prod flip-+
Counts
4 → 222
Calls
4 calls:
317.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (- b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (fma (* (* c 4.0) a) (fma b b (* 4.0 (* a c))) (pow b 4)))))) (* 2.0 a))
65.0ms
(/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (fma (* (* c 4.0) a) (fma b b (* 4.0 (* a c))) (pow b 4)))
213.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (- b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (fma (* (* c 4.0) a) (fma b b (* 4.0 (* a c))) (pow b 4))))))
29.0ms
(pow (* (* 4.0 a) c) 3)

series1.0s

Counts
4 → 12
Calls
4 calls:
356.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (- b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (fma (* (* c 4.0) a) (fma b b (* 4.0 (* a c))) (pow b 4)))))) (* 2.0 a))
198.0ms
(/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (fma (* (* c 4.0) a) (fma b b (* 4.0 (* a c))) (pow b 4)))
415.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (- b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (fma (* (* c 4.0) a) (fma b b (* 4.0 (* a c))) (pow b 4))))))
76.0ms
(pow (* (* 4.0 a) c) 3)

simplify2.6s

Counts
234 → 234
Iterations

Useful iterations: done (2.6s)

IterNodesCost
039212095
191911333
2377810629
done500010621

prune1.7s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

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

Useful iterations: 1 (3.0ms)

IterNodesCost
01925
12623
done2623

end0.0ms

sample4.3s

Algorithm
intervals
Results
1.2s4786×body160valid
1.1s16502×pre80true
779.0ms8502×body80nan
364.0ms1349×body320valid
248.0ms1865×body80valid