Details

Time bar (total: 18.7s)

sample19.0ms

Algorithm
intervals
Results
5.0ms189×body80valid
2.0ms24×body640valid
2.0ms27×body320valid
1.0ms11×body1280valid
0.0msbody160valid

simplify6.6s

Counts
1 → 1
Iterations

Useful iterations: 4 (21.0ms)

IterNodesCost
0811
11611
23511
37211
413710
524310
631610
738110
841710
949910
1057310
1158210
1260110
1364010
1474010
15100210
16131210
17180010
18229010
19236910
20237510
done237510

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 16.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- x 1.0) (+ y 1.0))
16.2b
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
23×add-sqr-sqrt
20×times-frac
13×add-cube-cbrt
distribute-lft-out
associate-/l* distribute-lft-out-- difference-of-squares
add-exp-log associate-/r* add-cbrt-cube
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv flip3-- frac-2neg flip3-+ div-sub div-exp clear-num flip-- flip-+ fma-udef div-inv
Counts
2 → 58
Calls
2 calls:
13.0ms
(/ (- x 1.0) (+ y 1.0))
0.0ms
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

series100.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(/ (- x 1.0) (+ y 1.0))
68.0ms
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

simplify2.7s

Counts
64 → 64
Iterations

Useful iterations: 4 (1.5s)

IterNodesCost
0114834
1277799
2678745
31667740
44688736
done5001736

prune168.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (/ (- x 1.0) (+ y 1.0)))
0.5b
(cbrt (/ (- x 1.0) (+ y 1.0)))
0.5b
(cbrt (/ (- x 1.0) (+ y 1.0)))
16.0b
(fma (* (* (cbrt (/ (- x 1.0) (+ y 1.0))) (cbrt (/ (- x 1.0) (+ y 1.0)))) (cbrt (/ (- x 1.0) (+ y 1.0)))) y 1.0)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
88×*-un-lft-identity
78×cbrt-prod
60×times-frac
58×add-sqr-sqrt
34×add-cube-cbrt
15×distribute-lft-out
12×distribute-lft-out-- difference-of-squares
associate-/r/
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-div flip3-+ pow1/3 flip-+ div-inv
fma-udef
Counts
4 → 121
Calls
4 calls:
6.0ms
(cbrt (/ (- x 1.0) (+ y 1.0)))
6.0ms
(cbrt (/ (- x 1.0) (+ y 1.0)))
6.0ms
(cbrt (/ (- x 1.0) (+ y 1.0)))
0.0ms
(fma (* (* (cbrt (/ (- x 1.0) (+ y 1.0))) (cbrt (/ (- x 1.0) (+ y 1.0)))) (cbrt (/ (- x 1.0) (+ y 1.0)))) y 1.0)

series386.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(cbrt (/ (- x 1.0) (+ y 1.0)))
103.0ms
(cbrt (/ (- x 1.0) (+ y 1.0)))
100.0ms
(cbrt (/ (- x 1.0) (+ y 1.0)))
84.0ms
(fma (* (* (cbrt (/ (- x 1.0) (+ y 1.0))) (cbrt (/ (- x 1.0) (+ y 1.0)))) (cbrt (/ (- x 1.0) (+ y 1.0)))) y 1.0)

simplify1.9s

Counts
133 → 133
Iterations

Useful iterations: 4 (895.0ms)

IterNodesCost
01562618
13272488
26742184
315162067
443711989
done50001989

prune395.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x 1.0) (+ y 1.0))
0.1b
(* (/ (- x 1.0) (+ y 1.0)) y)
4.4b
(+ (* (/ (- x 1.0) (+ y 1.0)) y) 1.0)

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
65×*-un-lft-identity
48×add-sqr-sqrt
41×times-frac
26×associate-*l*
25×add-cube-cbrt
11×distribute-lft-out
10×add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 associate-/l* add-log-exp
associate-/r* associate-/r/
expm1-log1p-u flip3-+ associate-*r* flip-+ log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative flip3-- fma-def frac-2neg div-sub pow-prod-down associate-*l/ clear-num sum-log *-commutative flip--
Counts
3 → 109
Calls
3 calls:
13.0ms
(/ (- x 1.0) (+ y 1.0))
25.0ms
(* (/ (- x 1.0) (+ y 1.0)) y)
9.0ms
(+ (* (/ (- x 1.0) (+ y 1.0)) y) 1.0)

series155.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(/ (- x 1.0) (+ y 1.0))
51.0ms
(* (/ (- x 1.0) (+ y 1.0)) y)
72.0ms
(+ (* (/ (- x 1.0) (+ y 1.0)) y) 1.0)

simplify3.0s

Counts
118 → 118
Iterations

Useful iterations: done (3.0s)

IterNodesCost
01721520
14601433
213001340
344331328
done50001327

prune254.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* y y) (- (* 1.0 1.0) (* y 1.0)))
1.8b
(/ (- x 1.0) (+ (pow y 3) (pow 1.0 3)))
16.2b
(fma (* (/ (- x 1.0) (+ (pow y 3) (pow 1.0 3))) (+ (* y y) (- (* 1.0 1.0) (* y 1.0)))) y 1.0)
19.0b
(* (/ (- x 1.0) (+ (pow y 3) (pow 1.0 3))) (+ (* y y) (- (* 1.0 1.0) (* y 1.0))))

rewrite159.0ms

Algorithm
rewrite-expression-head
Rules
184×*-un-lft-identity
91×times-frac
79×add-sqr-sqrt
55×distribute-lft-out
51×associate-*l*
44×unpow-prod-down cube-prod
36×add-cube-cbrt
19×distribute-lft-out-- difference-of-squares
11×add-exp-log sum-cubes add-cbrt-cube
associate-/r* add-log-exp
pow1
flip3-+ flip-+ associate-/l*
expm1-log1p-u associate-/r/ log1p-expm1-u
associate-+r+ associate-*r*
cbrt-undiv frac-times associate-*r/ div-exp prod-exp sum-log cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative distribute-rgt-in associate-+r- sub-neg flip3-- fma-def frac-2neg distribute-lft-in diff-log div-sub prod-diff pow-prod-down associate-*l/ clear-num *-commutative flip-- fma-udef
Counts
4 → 185
Calls
4 calls:
8.0ms
(+ (* y y) (- (* 1.0 1.0) (* y 1.0)))
34.0ms
(/ (- x 1.0) (+ (pow y 3) (pow 1.0 3)))
0.0ms
(fma (* (/ (- x 1.0) (+ (pow y 3) (pow 1.0 3))) (+ (* y y) (- (* 1.0 1.0) (* y 1.0)))) y 1.0)
105.0ms
(* (/ (- x 1.0) (+ (pow y 3) (pow 1.0 3))) (+ (* y y) (- (* 1.0 1.0) (* y 1.0))))

series318.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ (* y y) (- (* 1.0 1.0) (* y 1.0)))
71.0ms
(/ (- x 1.0) (+ (pow y 3) (pow 1.0 3)))
135.0ms
(fma (* (/ (- x 1.0) (+ (pow y 3) (pow 1.0 3))) (+ (* y y) (- (* 1.0 1.0) (* y 1.0)))) y 1.0)
88.0ms
(* (/ (- x 1.0) (+ (pow y 3) (pow 1.0 3))) (+ (* y y) (- (* 1.0 1.0) (* y 1.0))))

simplify1.2s

Counts
197 → 197
Iterations

Useful iterations: 2 (527.0ms)

IterNodesCost
02284361
17533795
228803523
done50013523

prune559.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.2b

regimes93.0ms

Accuracy

99.2% (0.1b remaining)

Error of 0.3b against oracle of 0.2b and baseline of 14.3b

bsearch112.0ms

Steps
ItersRangePoint
9
4368.076441928604
211806068951.26135
115382551.39706199
9
-1.7466667409204087e+24
-6567036909727156.0
-6690123426642433.0

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02754
13645
done3645

end0.0ms

sample453.0ms

Algorithm
intervals
Results
153.0ms6102×body80valid
63.0ms706×body640valid
49.0ms363×body1280valid
39.0ms512×body320valid
14.0ms317×body160valid