Details

Time bar (total: 28.8s)

sample72.0ms

Algorithm
intervals
Results
23.0ms518×pre80true
13.0ms137×body160valid
13.0ms262×body80nan
6.0ms119×body80valid

simplify78.0ms

Counts
1 → 1
Iterations
IterNodes
done102
7102
6101
599
491
373
241
122
012

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 28.4b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (fma -3 (* c a) (* b b)))
0.2b
(fma -3 (* c a) (* b b))
0.4b
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
28.3b
(- (sqrt (fma -3 (* c a) (* b b))) b)

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
27×*-un-lft-identity
21×add-cube-cbrt
18×prod-diff sqrt-prod
add-cbrt-cube add-exp-log
times-frac fma-neg associate-/l* add-log-exp difference-of-squares
pow1
expm1-log1p-u insert-posit16 log1p-expm1-u
distribute-lft-out--
cbrt-undiv flip3-- div-exp flip-- associate-/l/
rem-sqrt-square clear-num associate-/r* sub-neg frac-2neg sqrt-pow1 pow1/2 diff-log div-sub prod-exp cbrt-unprod fma-udef div-inv
Counts
4 → 102
Calls
4 calls:
1.0ms
(sqrt (fma -3 (* c a) (* b b)))
0.0ms
(fma -3 (* c a) (* b b))
25.0ms
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
8.0ms
(- (sqrt (fma -3 (* c a) (* b b))) b)

series366.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(sqrt (fma -3 (* c a) (* b b)))
71.0ms
(fma -3 (* c a) (* b b))
95.0ms
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
100.0ms
(- (sqrt (fma -3 (* c a) (* b b))) b)

simplify2.8s

Counts
114 → 114
Iterations
IterNodes
done5000
33990
2940
1347
0152

prune727.0ms

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 25.8b

localize69.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
0.4b
(* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b)))
0.4b
(/ (/ (- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
27.2b
(- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b)))

rewrite185.0ms

Algorithm
rewrite-expression-head
Rules
52×times-frac
48×add-sqr-sqrt
32×*-un-lft-identity add-cube-cbrt
23×cube-unmult
20×add-cbrt-cube add-exp-log associate-/l*
11×difference-cubes
10×pow1
cbrt-undiv div-exp
associate-*l* add-log-exp
expm1-log1p-u associate-/r* sqrt-prod fma-udef insert-posit16 log1p-expm1-u div-inv
div-sub associate-*r* prod-exp cbrt-unprod associate-/l/
distribute-rgt-in clear-num frac-2neg distribute-lft-in sqrt-pow1 pow-plus flip3-- pow1/2 associate--l+ pow-prod-up flip-- unswap-sqr
sub-neg fma-neg diff-log prod-diff pow-prod-down *-commutative
Counts
4 → 145
Calls
4 calls:
74.0ms
(/ (- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
9.0ms
(* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b)))
65.0ms
(/ (/ (- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
34.0ms
(- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b)))

series3.9s

Counts
4 → 12
Calls
4 calls:
471.0ms
(/ (- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
1.5s
(* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b)))
605.0ms
(/ (/ (- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
1.3s
(- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b)))

simplify2.7s

Counts
157 → 157
Iterations
IterNodes
done5002
22080
1595
0235

prune1.4s

Pruning

36 alts after pruning (36 fresh and 0 done)

Merged error: 24.0b

localize108.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b))))
0.3b
(/ (+ (* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b)))) (- (* (* b b) (sqrt (fma (* a c) -3 (* b b)))) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
0.4b
(/ (/ (+ (* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b)))) (- (* (* b b) (sqrt (fma (* a c) -3 (* b b)))) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
28.6b
(- (* (* b b) (sqrt (fma (* a c) -3 (* b b)))) (* b (* b b)))

rewrite659.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
28×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
27×add-cbrt-cube add-exp-log
16×associate-/l*
13×pow1
prod-exp cbrt-unprod
cbrt-undiv div-exp
associate-*r* pow-prod-down add-log-exp
expm1-log1p-u associate-/r* insert-posit16 log1p-expm1-u div-inv
div-sub sqrt-prod associate-/l/
clear-num associate-+r- frac-2neg
sub-neg flip3-+ flip3-- fma-neg diff-log associate-*l* prod-diff *-commutative flip-+ flip--
Counts
4 → 127
Calls
4 calls:
51.0ms
(* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b))))
275.0ms
(/ (+ (* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b)))) (- (* (* b b) (sqrt (fma (* a c) -3 (* b b)))) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
307.0ms
(/ (/ (+ (* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b)))) (- (* (* b b) (sqrt (fma (* a c) -3 (* b b)))) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
24.0ms
(- (* (* b b) (sqrt (fma (* a c) -3 (* b b)))) (* b (* b b)))

series1.3s

Counts
4 → 12
Calls
4 calls:
146.0ms
(* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b))))
497.0ms
(/ (+ (* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b)))) (- (* (* b b) (sqrt (fma (* a c) -3 (* b b)))) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
513.0ms
(/ (/ (+ (* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b)))) (- (* (* b b) (sqrt (fma (* a c) -3 (* b b)))) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
173.0ms
(- (* (* b b) (sqrt (fma (* a c) -3 (* b b)))) (* b (* b b)))

simplify2.3s

Counts
139 → 139
Iterations
IterNodes
done5001
22581
1673
0255

prune1.1s

Pruning

40 alts after pruning (40 fresh and 0 done)

Merged error: 7.2b

localize79.0ms

Local error

Found 4 expressions with local error:

0.3b
(* a (* b c))
0.3b
(* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b))))
0.3b
(/ (/ (+ (* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b)))) (* -3/2 (* a (* b c)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
0.4b
(/ (+ (* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b)))) (* -3/2 (* a (* b c)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))

rewrite423.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
32×add-cbrt-cube add-exp-log
29×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
18×pow1
16×associate-/l*
11×prod-exp cbrt-unprod
pow-prod-down
cbrt-undiv div-exp associate-*r*
expm1-log1p-u associate-/r* associate-*l* insert-posit16 log1p-expm1-u div-inv add-log-exp
sqrt-prod associate-/l/
clear-num frac-2neg *-commutative
flip3-+ flip-+
Counts
4 → 129
Calls
4 calls:
15.0ms
(* a (* b c))
52.0ms
(* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b))))
191.0ms
(/ (/ (+ (* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b)))) (* -3/2 (* a (* b c)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
162.0ms
(/ (+ (* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b)))) (* -3/2 (* a (* b c)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))

series1.0s

Counts
4 → 12
Calls
4 calls:
29.0ms
(* a (* b c))
117.0ms
(* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b))))
424.0ms
(/ (/ (+ (* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b)))) (* -3/2 (* a (* b c)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
431.0ms
(/ (+ (* (* (* a c) -3) (sqrt (fma (* a c) -3 (* b b)))) (* -3/2 (* a (* b c)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))

simplify2.4s

Counts
141 → 141
Iterations
IterNodes
done5002
22347
1594
0230

prune981.0ms

Pruning

62 alts after pruning (62 fresh and 0 done)

Merged error: 6.9b

regimes2.3s

Accuracy

45.6% (7.6b remaining)

Error of 15.1b against oracle of 7.5b and baseline of 21.5b

bsearch36.0ms

Steps
ItersRangePoint
2
554.8853353555609
627.0778694758378
563.9094021205955

simplify34.0ms

Iterations
IterNodes
done80
480
378
271
163
042

end0.0ms

sample3.7s

Algorithm
intervals
Results
1.3s16426×pre80true
801.0ms4483×body160valid
798.0ms8426×body80nan
358.0ms3517×body80valid