Details

Time bar (total: 5.7s)

sample18.0ms

Algorithm
intervals
Results
8.0ms328×body80valid

simplify1.1s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089
1229
2459
31129
42119
53289
64659
713899
done50019

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.2b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite61.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:
41.0ms
(* x (+ (- y z) 1.0))
18.0ms
(/ (* x (+ (- y z) 1.0)) z)

series81.0ms

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

simplify577.0ms

Counts
57 → 57
Iterations

Useful iterations: done (575.0ms)

IterNodesCost
098645
1262625
21037531
done5002521

prune126.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.0ms

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

series89.0ms

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

simplify647.0ms

Counts
67 → 67
Iterations

Useful iterations: 2 (159.0ms)

IterNodesCost
0133793
1406709
21355651
done5000651

prune152.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite64.0ms

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

series116.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(- (+ (/ (* x y) z) (* (/ x z) 1.0)) x)
50.0ms
(+ (/ (* x y) z) (* (/ x z) 1.0))
22.0ms
(/ (* x y) z)

simplify583.0ms

Counts
83 → 83
Iterations

Useful iterations: 2 (121.0ms)

IterNodesCost
01301272
13151135
21237975
done5000975

prune192.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite102.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
10×add-log-exp
times-frac prod-diff
pow1
cbrt-unprod
div-exp
expm1-log1p-u fma-neg pow-prod-down log1p-expm1-u
cbrt-undiv rec-exp diff-log 1-exp associate-*r/ associate-*l/ frac-add sum-log un-div-inv
+-commutative sub-neg flip3-- fma-def flip3-+ associate-*l* associate--l+ *-commutative flip-- flip-+ div-inv distribute-lft-out-- difference-of-squares
Counts
3 → 86
Calls
3 calls:
80.0ms
(- (+ (* (* x y) (/ 1 z)) (* (/ x z) 1.0)) x)
8.0ms
(+ (* (* x y) (/ 1 z)) (* (/ x z) 1.0))
11.0ms
(* (* x y) (/ 1 z))

series119.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(- (+ (* (* x y) (/ 1 z)) (* (/ x z) 1.0)) x)
49.0ms
(+ (* (* x y) (/ 1 z)) (* (/ x z) 1.0))
24.0ms
(* (* x y) (/ 1 z))

simplify832.0ms

Counts
95 → 95
Iterations

Useful iterations: 2 (210.0ms)

IterNodesCost
01671641
14591273
216351049
done50001049

prune185.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes90.0ms

Accuracy

93.8% (0.1b remaining)

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

bsearch77.0ms

Steps
ItersRangePoint
10
1.6507518246557455e-43
1.8793537737921384e-32
8.649219799147649e-36
6
-3.072127055585697e+28
-2.701315959983062e+27
-3.4374981009777875e+27

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02541
13441
done3441

end0.0ms

sample449.0ms

Algorithm
intervals
Results
243.0ms10090×body80valid