Details

Time bar (total: 6.1s)

sample19.0ms

Algorithm
intervals
Results
8.0ms328×body80valid

simplify1.1s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089
1229
2459
31129
42219
53539
65819
716209
done50009

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.2b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (- y z) 1.0))
8.6b
(/ (* x (+ (- y z) 1.0)) z)

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r*
pow1 associate-*r/
times-frac associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u flip3-+ div-exp prod-exp cbrt-unprod flip-+ log1p-expm1-u associate-/l/ distribute-lft-out add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
2 → 51
Calls
2 calls:
40.0ms
(* x (+ (- y z) 1.0))
18.0ms
(/ (* x (+ (- y z) 1.0)) z)

series83.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(* x (+ (- y z) 1.0))
45.0ms
(/ (* x (+ (- y z) 1.0)) z)

simplify466.0ms

Counts
57 → 57
Iterations

Useful iterations: done (464.0ms)

IterNodesCost
098645
1268625
21143531
done5000530

prune136.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (fma (/ x z) 1.0 (/ (* x y) z)) x)
0.0b
(fma (/ x z) 1.0 (/ (* x y) z))
6.7b
(/ (* x y) z)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt *-un-lft-identity
12×add-cube-cbrt
prod-diff
add-exp-log add-cbrt-cube
add-log-exp
pow1 expm1-log1p-u times-frac fma-neg associate-/r* log1p-expm1-u
cbrt-undiv div-exp fma-udef
sub-neg flip3-- frac-2neg diff-log prod-exp associate--l+ clear-num flip-- cbrt-unprod div-inv associate-/l* distribute-lft-out-- difference-of-squares
Counts
3 → 62
Calls
3 calls:
3.0ms
(- (fma (/ x z) 1.0 (/ (* x y) z)) x)
0.0ms
(fma (/ x z) 1.0 (/ (* x y) z))
4.0ms
(/ (* x y) z)

series125.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(- (fma (/ x z) 1.0 (/ (* x y) z)) x)
58.0ms
(fma (/ x z) 1.0 (/ (* x y) z))
22.0ms
(/ (* x y) z)

simplify469.0ms

Counts
71 → 71
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
01141097
1252977
21014844
done5000844

prune174.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (fma (/ x z) 1.0 (* (* x y) (/ 1 z))) x)
0.0b
(fma (/ x z) 1.0 (* (* x y) (/ 1 z)))
6.8b
(* (* x y) (/ 1 z))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log
19×add-sqr-sqrt *-un-lft-identity
17×add-cube-cbrt
15×add-cbrt-cube
13×associate-*r*
12×prod-exp
times-frac prod-diff
pow1
cbrt-unprod
add-log-exp
div-exp
expm1-log1p-u fma-neg pow-prod-down log1p-expm1-u
cbrt-undiv rec-exp 1-exp fma-udef
sub-neg flip3-- diff-log associate-*r/ associate-*l* associate--l+ un-div-inv *-commutative flip-- div-inv distribute-lft-out-- difference-of-squares
Counts
3 → 79
Calls
3 calls:
3.0ms
(- (fma (/ x z) 1.0 (* (* x y) (/ 1 z))) x)
0.0ms
(fma (/ x z) 1.0 (* (* x y) (/ 1 z)))
10.0ms
(* (* x y) (/ 1 z))

series123.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(- (fma (/ x z) 1.0 (* (* x y) (/ 1 z))) x)
56.0ms
(fma (/ x z) 1.0 (* (* x y) (/ 1 z)))
21.0ms
(* (* x y) (/ 1 z))

simplify1.0s

Counts
88 → 88
Iterations

Useful iterations: 2 (148.0ms)

IterNodesCost
01491434
13891120
21578933
done5000933

prune192.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (fma (/ x z) 1.0 (/ 1 (/ z (* x y)))) x)
0.0b
(fma (/ x z) 1.0 (/ 1 (/ z (* x y))))
0.5b
(/ 1 (/ z (* x y)))
6.5b
(/ z (* x y))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
31×add-sqr-sqrt *-un-lft-identity
30×add-exp-log
29×add-cube-cbrt
18×add-cbrt-cube
14×div-exp
prod-diff
associate-/r*
cbrt-undiv
div-inv associate-/l* add-log-exp
pow1
expm1-log1p-u prod-exp log1p-expm1-u
rec-exp fma-neg 1-exp
frac-2neg clear-num cbrt-unprod fma-udef
sub-neg flip3-- pow-flip diff-log associate--l+ associate-/r/ flip-- distribute-lft-out-- inv-pow difference-of-squares
Counts
4 → 120
Calls
4 calls:
3.0ms
(- (fma (/ x z) 1.0 (/ 1 (/ z (* x y)))) x)
0.0ms
(fma (/ x z) 1.0 (/ 1 (/ z (* x y))))
6.0ms
(/ 1 (/ z (* x y)))
3.0ms
(/ z (* x y))

series147.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (fma (/ x z) 1.0 (/ 1 (/ z (* x y)))) x)
50.0ms
(fma (/ x z) 1.0 (/ 1 (/ z (* x y))))
27.0ms
(/ 1 (/ z (* x y)))
23.0ms
(/ z (* x y))

simplify941.0ms

Counts
132 → 132
Iterations

Useful iterations: 2 (152.0ms)

IterNodesCost
01861901
14161685
215841314
done50001314

prune275.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes111.0ms

Accuracy

96.7% (0.1b remaining)

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

bsearch76.0ms

Steps
ItersRangePoint
8
1.4645119114423102e-54
3.3594796181009395e-50
1.5118393353993747e-50
7
-0.05495133652606057
-0.0002967127813376113
-0.003247600141383757

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02341
12641
done2641

end0.0ms

sample481.0ms

Algorithm
intervals
Results
261.0ms10090×body80valid