Details

Time bar (total: 19.7s)

sample25.0ms

Algorithm
intervals
Results
10.0ms335×body80valid

simplify4.1s

Counts
1 → 1
Iterations

Useful iterations: 4 (39.0ms)

IterNodesCost
08164
114164
234164
392164
4195139
5453139
61169139
72269139
83328139
done5000139

prune17.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.8b

localize15.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (- y 1.0) z 1.0)
3.6b
(* x (fma (- y 1.0) z 1.0))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt
associate-*r* associate-*l* fma-udef
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 32
Calls
2 calls:
0.0ms
(fma (- y 1.0) z 1.0)
6.0ms
(* x (fma (- y 1.0) z 1.0))

series115.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(fma (- y 1.0) z 1.0)
83.0ms
(* x (fma (- y 1.0) z 1.0))

simplify2.3s

Counts
38 → 38
Iterations

Useful iterations: 3 (500.0ms)

IterNodesCost
0547260
11236984
23236774
313886544
done50156544

prune231.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 3.7b

localize29.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* (- y 1.0) z) x) (* 1.0 x))
0.0b
(* (- y 1.0) z)
3.7b
(* (* (- y 1.0) z) x)

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt pow1 add-cbrt-cube add-exp-log
*-un-lft-identity
associate-*r* associate-*l* associate-*l/ add-cube-cbrt
add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
flip3-- *-commutative flip--
+-commutative sum-log fma-def flip3-+ distribute-rgt-out flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 61
Calls
3 calls:
45.0ms
(+ (* (* (- y 1.0) z) x) (* 1.0 x))
18.0ms
(* (- y 1.0) z)
56.0ms
(* (* (- y 1.0) z) x)

series194.0ms

Counts
3 → 9
Calls
3 calls:
93.0ms
(+ (* (* (- y 1.0) z) x) (* 1.0 x))
50.0ms
(* (- y 1.0) z)
51.0ms
(* (* (- y 1.0) z) x)

simplify4.1s

Counts
70 → 70
Iterations

Useful iterations: 3 (2.4s)

IterNodesCost
010814515
129012680
2101111935
3452111725
done500011725

prune413.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 2 expressions with local error:

0.0b
(- x (* z x))
2.2b
(fma (* z x) y (* 1.0 (- x (* z x))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt add-log-exp
fma-neg prod-diff
expm1-log1p-u pow1 add-cbrt-cube add-exp-log log1p-expm1-u
sub-neg flip3-- distribute-rgt-out-- diff-log fma-udef flip--
Counts
2 → 31
Calls
2 calls:
9.0ms
(- x (* z x))
1.0ms
(fma (* z x) y (* 1.0 (- x (* z x))))

series150.0ms

Counts
2 → 6
Calls
2 calls:
60.0ms
(- x (* z x))
90.0ms
(fma (* z x) y (* 1.0 (- x (* z x))))

simplify2.8s

Counts
37 → 37
Iterations

Useful iterations: done (2.8s)

IterNodesCost
0627375
11386844
24736493
319706373
done50085945

prune182.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize39.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (fma (* z x) y (* 1.0 (- x (* z x)))))
2.2b
(fma (* z x) y (* 1.0 (- x (* z x))))
2.2b
(fma (* z x) y (* 1.0 (- x (* z x))))
2.2b
(fma (* z x) y (* 1.0 (- x (* z x))))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log log1p-expm1-u add-log-exp
cbrt-prod fma-udef
pow1/3
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt (fma (* z x) y (* 1.0 (- x (* z x)))))
0.0ms
(fma (* z x) y (* 1.0 (- x (* z x))))
0.0ms
(fma (* z x) y (* 1.0 (- x (* z x))))
0.0ms
(fma (* z x) y (* 1.0 (- x (* z x))))

series491.0ms

Counts
4 → 12
Calls
4 calls:
289.0ms
(cbrt (fma (* z x) y (* 1.0 (- x (* z x)))))
70.0ms
(fma (* z x) y (* 1.0 (- x (* z x))))
65.0ms
(fma (* z x) y (* 1.0 (- x (* z x))))
67.0ms
(fma (* z x) y (* 1.0 (- x (* z x))))

simplify2.4s

Counts
55 → 55
Iterations

Useful iterations: done (2.4s)

IterNodesCost
09016371
120615774
252115214
3157814820
done500314462

prune314.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes287.0ms

Accuracy

95.6% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 1.6b

bsearch90.0ms

Steps
ItersRangePoint
1
5.20815493831672e-22
5.686306980150838e-22
5.566768969692309e-22
9
-1.6605670889217131e-29
-9.492361916070632e-35
-1.6391887730651112e-29

simplify11.0ms

Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
020681
130681
done30681

end0.0ms

sample1.2s

Algorithm
intervals
Results
461.0ms10162×body80valid