Details

Time bar (total: 10.6s)

sample184.0ms

Algorithm
intervals
Results
103.0ms120×body1280valid
32.0ms66×body640valid
11.0ms256×pre80true
8.0ms26×body320valid
4.0ms36×body80valid
2.0msbody160valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 12.6b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
3.3b
(tan (+ y z))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
7.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series292.0ms

Counts
3 → 9
Calls
3 calls:
120.0ms
(+ x (- (tan (+ y z)) (tan a)))
116.0ms
(- (tan (+ y z)) (tan a))
55.0ms
(tan (+ y z))

simplify42.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune160.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
41.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
3.0ms
(+ (tan y) (tan z))
71.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
5.0ms
(* (tan y) (tan z))

series900.0ms

Counts
4 → 12
Calls
4 calls:
374.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
93.0ms
(+ (tan y) (tan z))
338.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
95.0ms
(* (tan y) (tan z))

simplify76.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune274.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a)))
0.3b
(pow (* (tan y) (tan z)) 3)
0.3b
(* (tan y) (tan z))
27.6b
(cbrt (pow (* (tan y) (tan z)) 3))

rewrite188.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×tan-quot
10×add-sqr-sqrt
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-prod add-cube-cbrt
cube-div
frac-times pow-unpow cbrt-div associate-*r/ associate-*r* associate-*l* associate-*l/
cube-mult unpow-prod-down associate-+r+ pow-pow unpow3 cube-prod pow-prod-down pow-exp prod-exp sum-log cbrt-unprod distribute-lft-out rem-cube-cbrt sqr-pow
+-commutative pow-to-exp associate-+r- sub-neg flip3-+ pow1/3 diff-log *-commutative rem-cbrt-cube flip-+ distribute-lft-out-- unswap-sqr
Counts
4 → 83
Calls
4 calls:
170.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a)))
4.0ms
(pow (* (tan y) (tan z)) 3)
5.0ms
(* (tan y) (tan z))
6.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

series647.0ms

Counts
4 → 12
Calls
4 calls:
334.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a)))
129.0ms
(pow (* (tan y) (tan z)) 3)
92.0ms
(* (tan y) (tan z))
90.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

simplify49.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0378770
11672724
25003723

prune360.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize21.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.3b
(* (tan y) (tan z))
2.3b
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

rewrite315.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
17×add-log-exp
add-sqr-sqrt
add-cube-cbrt
tan-quot pow1 add-exp-log add-cbrt-cube
exp-prod sum-log distribute-lft-out
associate-*r* associate-*l* rem-exp-log
+-commutative associate-+r- associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out--
frac-times sub-neg exp-diff associate-*r/ exp-sum pow-prod-down associate-*l/ frac-add prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 68
Calls
4 calls:
3.0ms
(+ (tan y) (tan z))
68.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
5.0ms
(* (tan y) (tan z))
237.0ms
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

series934.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(+ (tan y) (tan z))
343.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
90.0ms
(* (tan y) (tan z))
406.0ms
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

simplify78.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0321799
11012736
23341736
35001736

prune303.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

regimes298.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02315
12315

end0.0ms

sample5.3s

Algorithm
intervals
Results
3.2s3908×body1280valid
997.0ms1972×body640valid
335.0ms8000×pre80true
245.0ms692×body320valid
127.0ms1138×body80valid
71.0ms290×body160valid