Details

Time bar (total: 16.4s)

sample27.0ms

Algorithm
intervals
Results
10.0ms320×body80valid

simplify4.4s

Counts
1 → 1
Iterations

Useful iterations: 4 (59.0ms)

IterNodesCost
089
1149
2349
3929
42618
59218
647018
done50008

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.4b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 1.0 y) z)
5.1b
(* x (- 1.0 (* (- 1.0 y) z)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×*-un-lft-identity
add-cube-cbrt associate-*l*
pow1 add-exp-log associate-*r* prod-diff add-cbrt-cube
distribute-rgt-in distribute-lft-in
expm1-log1p-u sub-neg flip3-- associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative flip-- cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
distribute-lft-out-- difference-of-squares
Counts
2 → 56
Calls
2 calls:
33.0ms
(* (- 1.0 y) z)
27.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series115.0ms

Counts
2 → 6
Calls
2 calls:
55.0ms
(* (- 1.0 y) z)
59.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

simplify917.0ms

Counts
62 → 62
Iterations

Useful iterations: done (914.0ms)

IterNodesCost
0114726
1271706
21144622
done5001611

prune184.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.0ms

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

series104.0ms

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

simplify2.4s

Counts
36 → 36
Iterations

Useful iterations: 3 (665.0ms)

IterNodesCost
061405
1133395
2574344
34274315
done5000315

prune101.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
2.7b
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- 1.0 (* (- 1.0 y) z))))
2.7b
(* (cbrt x) (- 1.0 (* (- 1.0 y) z)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
25×distribute-rgt-in distribute-lft-in
19×add-sqr-sqrt
18×pow1 add-exp-log prod-diff
15×add-cube-cbrt *-un-lft-identity
11×add-cbrt-cube
10×cbrt-prod
pow-prod-down prod-exp cbrt-unprod
associate-*l*
sub-neg associate-*r/
expm1-log1p-u associate-*r* log1p-expm1-u add-log-exp
flip3-- pow1/3 *-commutative flip-- unswap-sqr
Counts
4 → 108
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
66.0ms
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- 1.0 (* (- 1.0 y) z))))
23.0ms
(* (cbrt x) (- 1.0 (* (- 1.0 y) z)))

series637.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(cbrt x)
223.0ms
(cbrt x)
85.0ms
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- 1.0 (* (- 1.0 y) z))))
123.0ms
(* (cbrt x) (- 1.0 (* (- 1.0 y) z)))

simplify3.1s

Counts
120 → 120
Iterations

Useful iterations: done (3.1s)

IterNodesCost
01622090
14922052
231091518
done50011283

prune324.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
18×prod-diff
17×add-sqr-sqrt *-un-lft-identity
15×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r*
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u sub-neg associate-*r/ log1p-expm1-u add-log-exp
flip3-- associate-*l* *-commutative flip-- fma-udef distribute-lft-out-- difference-of-squares
Counts
2 → 56
Calls
2 calls:
0.0ms
(fma 1.0 x (* (* x z) (- y 1.0)))
47.0ms
(* (* x z) (- y 1.0))

series138.0ms

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

simplify2.1s

Counts
62 → 62
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01281051
1357884
22170700
done5000674

prune120.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes423.0ms

Accuracy

95.5% (0.1b remaining)

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

bsearch88.0ms

Steps
ItersRangePoint
10
53252231380971.65
4.149488030327721e+25
2055229012769866.5
8
-13827171026.042707
-1739237.060454704
-15271779.568960438

simplify5.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01840
12531
done2531

end0.0ms

sample935.0ms

Algorithm
intervals
Results
466.0ms10159×body80valid