Details

Time bar (total: 10.8s)

sample179.0ms

Algorithm
intervals
Results
97.0ms117×body1280valid
34.0ms76×body640valid
12.0ms256×pre80true
4.0ms43×body80valid
4.0ms13×body320valid
1.0msbody160valid

simplify25.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.3b

localize11.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
2.9b
(tan (+ y z))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt
11×associate-+r+
10×add-log-exp
tan-quot
pow1 add-exp-log expm1-log1p-u fma-def fma-neg add-cbrt-cube log1p-expm1-u
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 72
Calls
3 calls:
9.0ms
(+ x (- (tan (+ y z)) (tan a)))
9.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series320.0ms

Counts
3 → 9
Calls
3 calls:
129.0ms
(+ x (- (tan (+ y z)) (tan a)))
129.0ms
(- (tan (+ y z)) (tan a))
62.0ms
(tan (+ y z))

simplify89.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (82.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune225.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
151×*-un-lft-identity
108×prod-diff
107×add-sqr-sqrt
100×add-cube-cbrt
85×times-frac
56×associate-+r+
24×distribute-lft-out
18×fma-neg
14×associate-/r/
13×add-log-exp
flip3-- flip--
tan-quot div-inv
pow1 add-exp-log fma-def add-cbrt-cube
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l* sum-log
+-commutative sub-neg flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub cbrt-unprod unswap-sqr
Counts
4 → 207
Calls
4 calls:
3.0ms
(+ (tan y) (tan z))
83.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
49.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series977.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(+ (tan y) (tan z))
375.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
407.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
99.0ms
(* (tan y) (tan z))

simplify88.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06764084
120873388
250013271

prune710.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (tan a))
0.6b
(cbrt (tan a))
0.6b
(cbrt (tan a))
60.1b
(fma (- (cbrt (tan a))) (* (cbrt (tan a)) (cbrt (tan a))) (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a)))))

rewrite4.0ms

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

series621.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(cbrt (tan a))
142.0ms
(cbrt (tan a))
138.0ms
(cbrt (tan a))
208.0ms
(fma (- (cbrt (tan a))) (* (cbrt (tan a)) (cbrt (tan a))) (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a)))))

simplify111.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 4 (99.0ms)

IterNodesCost
0102427
1211373
2675363
32633349
45002337

prune386.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.1b
(+ (tan y) (tan z))
0.2b
(- (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite207.0ms

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity
28×add-sqr-sqrt
24×add-cube-cbrt
12×times-frac prod-diff
11×add-log-exp
10×tan-quot distribute-lft-out
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u fma-neg log1p-expm1-u associate-/l*
fma-def flip3-+ associate-*r* associate-*l* associate-/r* flip-+ associate-/l/
flip3-- diff-log frac-add sum-log associate-/r/ frac-sub flip-- distribute-lft-out--
cbrt-undiv +-commutative frac-times sub-neg frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp associate--l+ clear-num *-commutative cbrt-unprod div-inv difference-of-squares unswap-sqr
Counts
4 → 116
Calls
4 calls:
12.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
4.0ms
(+ (tan y) (tan z))
182.0ms
(- (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (tan a))
5.0ms
(* (tan y) (tan z))

series836.0ms

Counts
4 → 12
Calls
4 calls:
239.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
105.0ms
(+ (tan y) (tan z))
389.0ms
(- (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (tan a))
103.0ms
(* (tan y) (tan z))

simplify66.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05291617
119081421
250011403

prune453.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes267.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02729
12729

end0.0ms

sample4.9s

Algorithm
intervals
Results
2.9s3795×body1280valid
900.0ms2017×body640valid
353.0ms8000×pre80true
221.0ms723×body320valid
123.0ms1170×body80valid
59.0ms295×body160valid