Details

Time bar (total: 10.3s)

sample193.0ms

Algorithm
intervals
Results
99.0ms119×body1280valid
31.0ms62×body640valid
27.0ms256×pre80true
6.0ms17×body320valid
5.0ms17×body160valid
4.0ms41×body80valid

simplify18.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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
4.7b
(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)))
8.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series272.0ms

Counts
3 → 9
Calls
3 calls:
112.0ms
(+ x (- (tan (+ y z)) (tan a)))
107.0ms
(- (tan (+ y z)) (tan a))
51.0ms
(tan (+ y z))

simplify37.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune149.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite124.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:
72.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
3.0ms
(+ (tan y) (tan z))
42.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series860.0ms

Counts
4 → 12
Calls
4 calls:
322.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
88.0ms
(+ (tan y) (tan z))
363.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
87.0ms
(* (tan y) (tan z))

simplify74.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune291.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×*-un-lft-identity
11×add-exp-log add-cbrt-cube
add-cube-cbrt add-log-exp
pow1
tan-quot
times-frac
associate-*r* associate-*l* associate-/r*
cbrt-undiv div-exp associate-*l/ prod-exp cbrt-unprod difference-of-squares
+-commutative sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down frac-add clear-num sum-log *-commutative frac-sub flip-- flip-+ div-inv associate-/l/ distribute-lft-out associate-/l* distribute-lft-out-- unswap-sqr
Counts
4 → 70
Calls
4 calls:
3.0ms
(+ (tan y) (tan z))
82.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
5.0ms
(/ (* (tan y) (sin z)) (cos z))
5.0ms
(* (tan y) (sin z))

series610.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(+ (tan y) (tan z))
368.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
90.0ms
(/ (* (tan y) (sin z)) (cos z))
64.0ms
(* (tan y) (sin z))

simplify40.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0382781
11351707
25002698

prune331.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
17×add-sqr-sqrt
15×add-cube-cbrt
12×times-frac
tan-quot add-exp-log add-cbrt-cube add-log-exp
pow1 distribute-lft-out
associate-/l*
flip3-+ associate-*r* associate-*l* associate-/r* flip-+ associate-/l/
+-commutative frac-add sum-log associate-/r/
cbrt-undiv frac-times flip3-- frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv unswap-sqr
Counts
4 → 82
Calls
4 calls:
18.0ms
(+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))
11.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
3.0ms
(+ (tan y) (tan z))
5.0ms
(* (tan y) (tan z))

series651.0ms

Counts
4 → 12
Calls
4 calls:
267.0ms
(+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))
205.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
89.0ms
(+ (tan y) (tan z))
90.0ms
(* (tan y) (tan z))

simplify104.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0383942
11350898
24359898
35002898

prune311.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

regimes298.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01911
11911

end0.0ms

sample5.7s

Algorithm
intervals
Results
3.3s3897×body1280valid
1.0s2025×body640valid
634.0ms8000×pre80true
239.0ms670×body320valid
129.0ms1122×body80valid
77.0ms286×body160valid