Details

Time bar (total: 26.2s)

sample44.0ms

Algorithm
intervals
Results
21.0ms266×body80valid

simplify5.4s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01317
12517
23917
36417
411417
520117
640317
794617
8251517
done500117

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.9b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) x)
0.0b
(- (* t z) x)
0.5b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
9.8b
(/ (- (* y z) x) (- (* t z) x))

rewrite357.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
25×times-frac
24×add-sqr-sqrt add-cube-cbrt
10×distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
prod-diff
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/
div-sub
cbrt-undiv sub-neg frac-2neg flip3-+ fma-neg diff-log div-exp clear-num flip-+ div-inv
associate-+r-
Counts
4 → 113
Calls
4 calls:
19.0ms
(- (* y z) x)
19.0ms
(- (* t z) x)
249.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
64.0ms
(/ (- (* y z) x) (- (* t z) x))

series417.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (* y z) x)
47.0ms
(- (* t z) x)
219.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
116.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify4.4s

Counts
125 → 125
Iterations

Useful iterations: 3 (2.4s)

IterNodesCost
01872188
14622069
213471919
345881906
done50001906

prune560.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.5b

localize25.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (fma (/ y (fma z t (- x))) z x) (+ x 1.0))
2.3b
(/ y (fma z t (- x)))
3.2b
(/ x (- (* t z) x))
3.2b
(fma (/ y (fma z t (- x))) z x)

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
30×times-frac
29×add-sqr-sqrt add-cube-cbrt
10×add-exp-log associate-/r* add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u distribute-lft-out add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
flip3-- flip3-+ flip-- flip-+ fma-udef
Counts
4 → 105
Calls
4 calls:
34.0ms
(/ (fma (/ y (fma z t (- x))) z x) (+ x 1.0))
9.0ms
(/ y (fma z t (- x)))
21.0ms
(/ x (- (* t z) x))
1.0ms
(fma (/ y (fma z t (- x))) z x)

series532.0ms

Counts
4 → 12
Calls
4 calls:
217.0ms
(/ (fma (/ y (fma z t (- x))) z x) (+ x 1.0))
74.0ms
(/ y (fma z t (- x)))
121.0ms
(/ x (- (* t z) x))
120.0ms
(fma (/ y (fma z t (- x))) z x)

simplify2.3s

Counts
117 → 117
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01931769
13921730
29681590
321361590
done50001584

prune710.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.5b

localize25.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ (+ x 1.0) (fma (/ y (fma z t (- x))) z x))
2.3b
(/ y (fma z t (- x)))
3.2b
(/ x (- (* t z) x))
3.2b
(fma (/ y (fma z t (- x))) z x)

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
30×times-frac
29×add-sqr-sqrt add-cube-cbrt
10×add-exp-log add-cbrt-cube associate-/l*
associate-/r*
pow1 expm1-log1p-u log1p-expm1-u distribute-lft-out add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
associate-/r/ associate-/l/
flip3-- flip3-+ flip-- flip-+ fma-udef
Counts
4 → 105
Calls
4 calls:
35.0ms
(/ (+ x 1.0) (fma (/ y (fma z t (- x))) z x))
24.0ms
(/ y (fma z t (- x)))
26.0ms
(/ x (- (* t z) x))
0.0ms
(fma (/ y (fma z t (- x))) z x)

series407.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(/ (+ x 1.0) (fma (/ y (fma z t (- x))) z x))
69.0ms
(/ y (fma z t (- x)))
82.0ms
(/ x (- (* t z) x))
130.0ms
(fma (/ y (fma z t (- x))) z x)

simplify2.4s

Counts
117 → 117
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01811740
13641706
29161573
322001573
done50001567

prune733.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.5b

localize46.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (+ (fma z y (- x)) (- x x)) (- (* t z) x)))
0.0b
(- (* t z) x)
0.5b
(/ (+ x (/ (+ (fma z y (- x)) (- x x)) (- (* t z) x))) (+ x 1.0))
9.8b
(/ (+ (fma z y (- x)) (- x x)) (- (* t z) x))

rewrite591.0ms

Algorithm
rewrite-expression-head
Rules
68×*-un-lft-identity
31×times-frac
26×add-sqr-sqrt add-cube-cbrt
19×distribute-lft-out
associate-/l*
add-exp-log add-cbrt-cube add-log-exp
associate-/r*
associate-+r-
pow1 expm1-log1p-u flip3-+ div-sub associate-/r/ flip-+ log1p-expm1-u associate-/l/ distribute-lft-out--
fma-def prod-diff
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
+-commutative sub-neg fma-neg diff-log sum-log
Counts
4 → 121
Calls
4 calls:
96.0ms
(+ x (/ (+ (fma z y (- x)) (- x x)) (- (* t z) x)))
11.0ms
(- (* t z) x)
375.0ms
(/ (+ x (/ (+ (fma z y (- x)) (- x x)) (- (* t z) x))) (+ x 1.0))
106.0ms
(/ (+ (fma z y (- x)) (- x x)) (- (* t z) x))

series489.0ms

Counts
4 → 12
Calls
4 calls:
156.0ms
(+ x (/ (+ (fma z y (- x)) (- x x)) (- (* t z) x)))
42.0ms
(- (* t z) x)
206.0ms
(/ (+ x (/ (+ (fma z y (- x)) (- x x)) (- (* t z) x))) (+ x 1.0))
86.0ms
(/ (+ (fma z y (- x)) (- x x)) (- (* t z) x))

simplify3.6s

Counts
133 → 133
Iterations

Useful iterations: done (3.6s)

IterNodesCost
01852999
14442594
212482175
341982167
done50002163

prune603.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.5b

regimes265.0ms

Accuracy

41.1% (2.6b remaining)

Error of 3.0b against oracle of 0.4b and baseline of 4.8b

bsearch153.0ms

Steps
ItersRangePoint
6
2.3437815209458e+89
1.5321801273505089e+90
8.620848150685309e+89
8
-5.2146422133700853e-08
-4.732417159167405e-11
-2.889419895373327e-08

simplify9.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03366
14066
done4066

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.4s8309×body80valid