Details

Time bar (total: 6.2s)

sample29.0ms

Algorithm
intervals
Results
11.0ms264×body80valid

simplify124.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0248
1438
2758
31208
41568
51898
62658
74518
810238
936328
1050018

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- b y))
0.0b
(+ y (* z (- b y)))
1.3b
(+ (* x y) (* z (- t a)))
25.9b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
54×prod-diff
53×*-un-lft-identity
51×add-cube-cbrt
44×associate-+r+
33×distribute-rgt-in distribute-lft-in
times-frac
add-exp-log add-cbrt-cube add-log-exp
pow1 sub-neg
associate-*r*
expm1-log1p-u fma-def flip3-+ flip-+ log1p-expm1-u
associate-*l* associate-/r* associate-/l*
+-commutative associate-*r/ sum-log associate-/r/ associate-/l/
cbrt-undiv flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 153
Calls
4 calls:
11.0ms
(* z (- b y))
5.0ms
(+ y (* z (- b y)))
6.0ms
(+ (* x y) (* z (- t a)))
11.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series429.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* z (- b y))
29.0ms
(+ y (* z (- b y)))
44.0ms
(+ (* x y) (* z (- t a)))
320.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify73.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06021288
12282956
25001937

prune503.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 26.2b

localize13.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ 1 (/ (fma z (- b y) y) (fma x y (* z (- t a)))))
0.8b
(fma x y (* z (- t a)))
26.0b
(/ (fma z (- b y) y) (fma x y (* z (- t a))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
53×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×add-exp-log associate-/r*
10×add-cbrt-cube
div-exp
div-inv associate-/l*
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp clear-num
pow-flip associate-/r/ fma-udef inv-pow
Counts
3 → 117
Calls
3 calls:
5.0ms
(/ 1 (/ (fma z (- b y) y) (fma x y (* z (- t a)))))
0.0ms
(fma x y (* z (- t a)))
5.0ms
(/ (fma z (- b y) y) (fma x y (* z (- t a))))

series616.0ms

Counts
3 → 9
Calls
3 calls:
466.0ms
(/ 1 (/ (fma z (- b y) y) (fma x y (* z (- t a)))))
46.0ms
(fma x y (* z (- t a)))
104.0ms
(/ (fma z (- b y) y) (fma x y (* z (- t a))))

simplify51.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03471420
114281283
250011209

prune335.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 10.5b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (fma x y (* z (- t a))) (fma z (- b y) y)))
0.2b
(/ 1 (/ 1 (/ (fma x y (* z (- t a))) (fma z (- b y) y))))
0.8b
(fma x y (* z (- t a)))
25.9b
(/ (fma x y (* z (- t a))) (fma z (- b y) y))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
480×times-frac
239×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
60×add-exp-log associate-/r*
43×div-exp
23×div-inv
20×add-cbrt-cube
15×rec-exp 1-exp
10×cbrt-undiv
associate-/l*
pow1
associate-/r/
pow-flip
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num inv-pow
fma-udef remove-double-div
Counts
4 → 338
Calls
4 calls:
6.0ms
(/ 1 (/ (fma x y (* z (- t a))) (fma z (- b y) y)))
14.0ms
(/ 1 (/ 1 (/ (fma x y (* z (- t a))) (fma z (- b y) y))))
0.0ms
(fma x y (* z (- t a)))
7.0ms
(/ (fma x y (* z (- t a))) (fma z (- b y) y))

series851.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(/ 1 (/ (fma x y (* z (- t a))) (fma z (- b y) y)))
322.0ms
(/ 1 (/ 1 (/ (fma x y (* z (- t a))) (fma z (- b y) y))))
45.0ms
(fma x y (* z (- t a)))
330.0ms
(/ (fma x y (* z (- t a))) (fma z (- b y) y))

simplify80.0ms

Algorithm
egg-herbie
Counts
350 → 350
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
09664941
150014158

prune782.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 10.5b

localize16.0ms

Local error

Found 3 expressions with local error:

0.6b
(/ (cbrt 1) (fma z (- b y) y))
0.8b
(fma x y (* z (- t a)))
25.5b
(* (* (* (cbrt 1) (cbrt 1)) (fma x y (* z (- t a)))) (/ (cbrt 1) (fma z (- b y) y)))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
31×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
26×add-exp-log
22×associate-*r*
21×cbrt-prod
18×add-cbrt-cube
12×pow1 prod-exp cbrt-unprod
pow-prod-down associate-/l*
cbrt-undiv div-exp
expm1-log1p-u associate-/r* log1p-expm1-u add-log-exp
div-inv
frac-2neg associate-*r/ associate-*l* clear-num *-commutative fma-udef
Counts
3 → 100
Calls
3 calls:
3.0ms
(/ (cbrt 1) (fma z (- b y) y))
0.0ms
(fma x y (* z (- t a)))
52.0ms
(* (* (* (cbrt 1) (cbrt 1)) (fma x y (* z (- t a)))) (/ (cbrt 1) (fma z (- b y) y)))

series437.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(/ (cbrt 1) (fma z (- b y) y))
45.0ms
(fma x y (* z (- t a)))
334.0ms
(* (* (* (cbrt 1) (cbrt 1)) (fma x y (* z (- t a)))) (/ (cbrt 1) (fma z (- b y) y)))

simplify66.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
03781177
12163998
25003681

prune277.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 10.5b

regimes522.0ms

Accuracy

24.5% (9.5b remaining)

Error of 20.5b against oracle of 10.9b and baseline of 23.6b

bsearch101.0ms

Steps
ItersRangePoint
9
1.5247250177203267e+35
7.86294764107312e+43
7.736950116967238e+43
8
-1.4335373150418553e+75
-4.5705223523792306e+70
-7.710255796225628e+72

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03011
13011

end0.0ms

sample728.0ms

Algorithm
intervals
Results
395.0ms8392×body80valid